#dfd20e ≈ Citrine
#dfd20e 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.49% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 93.72% yellow and 12.55% black. Its hue angle is 56.27°, with 88.19% saturation and 46.47% 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.69.
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.6181 |
Shades
#dfd20e mixed progressively with black.
Tints
#dfd20e mixed progressively with white.
Tones
#dfd20e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd20e {
color: #dfd20e;
}
.bg-dfd20e {
background-color: #dfd20e;
color: #000000;
}
.border-dfd20e {
border: 2px solid #dfd20e;
}
:root {
--color-primary: #dfd20e;
--color-primary-rgb: 223 210 14;
--color-primary-hsl: 56 88% 46%;
}
.gradient-dfd20e {
background: linear-gradient(135deg, #dfd20e, #83df0e);
}
.shadow-dfd20e {
box-shadow: 0 8px 24px rgb(223 210 14 / 0.35);
}
Citrine
#dfd20e rgb(223, 210, 14) hsl(56, 88%, 46%) Citrine
#0e1bdf rgb(14, 27, 223) hsl(236, 88%, 46%) Blue
#0edfd2 rgb(14, 223, 210) hsl(176, 88%, 46%) Turquoise
#d20edf rgb(210, 14, 223) hsl(296, 88%, 46%) Electric Purple