#dfd20f ≈ Citrine
#dfd20f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 82.35% green and 5.88% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 93.27% yellow and 12.55% black. Its hue angle is 56.25°, with 87.39% saturation and 46.67% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.36:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6182 |
Shades
#dfd20f mixed progressively with black.
Tints
#dfd20f mixed progressively with white.
Tones
#dfd20f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd20f {
color: #dfd20f;
}
.bg-dfd20f {
background-color: #dfd20f;
color: #000000;
}
.border-dfd20f {
border: 2px solid #dfd20f;
}
:root {
--color-primary: #dfd20f;
--color-primary-rgb: 223 210 15;
--color-primary-hsl: 56 87% 47%;
}
.gradient-dfd20f {
background: linear-gradient(135deg, #dfd20f, #84df0f);
}
.shadow-dfd20f {
box-shadow: 0 8px 24px rgb(223 210 15 / 0.35);
}
Citrine
#dfd20f rgb(223, 210, 15) hsl(56, 87%, 47%) Citrine
#0f1cdf rgb(15, 28, 223) hsl(236, 87%, 47%) Blue
#0fdfd2 rgb(15, 223, 210) hsl(176, 87%, 47%) Turquoise
#d20fdf rgb(210, 15, 223) hsl(296, 87%, 47%) Electric Purple