#dfd240 ≈ Citrine
#dfd240 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 82.35% green and 25.1% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 71.3% yellow and 12.55% black. Its hue angle is 55.09°, with 71.3% saturation and 56.27% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 13.43:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6215 |
Shades
#dfd240 mixed progressively with black.
Tints
#dfd240 mixed progressively with white.
Tones
#dfd240 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd240 {
color: #dfd240;
}
.bg-dfd240 {
background-color: #dfd240;
color: #000000;
}
.border-dfd240 {
border: 2px solid #dfd240;
}
:root {
--color-primary: #dfd240;
--color-primary-rgb: 223 210 64;
--color-primary-hsl: 55 71% 56%;
}
.gradient-dfd240 {
background: linear-gradient(135deg, #dfd240, #9ddf40);
}
.shadow-dfd240 {
box-shadow: 0 8px 24px rgb(223 210 64 / 0.35);
}
Citrine
#dfd240 rgb(223, 210, 64) hsl(55, 71%, 56%) Citrine
#404ddf rgb(64, 77, 223) hsl(235, 71%, 56%) Iris
#40dfd2 rgb(64, 223, 210) hsl(175, 71%, 56%) Turquoise
#d240df rgb(210, 64, 223) hsl(295, 71%, 56%) Medium Orchid