#dfd417 ≈ Citrine
#dfd417 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 83.14% green and 9.02% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 89.69% yellow and 12.55% black. Its hue angle is 56.7°, with 81.3% saturation and 48.24% 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.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.26.
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.6284 |
Shades
#dfd417 mixed progressively with black.
Tints
#dfd417 mixed progressively with white.
Tones
#dfd417 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd417 {
color: #dfd417;
}
.bg-dfd417 {
background-color: #dfd417;
color: #000000;
}
.border-dfd417 {
border: 2px solid #dfd417;
}
:root {
--color-primary: #dfd417;
--color-primary-rgb: 223 212 23;
--color-primary-hsl: 57 81% 48%;
}
.gradient-dfd417 {
background: linear-gradient(135deg, #dfd417, #86df17);
}
.shadow-dfd417 {
box-shadow: 0 8px 24px rgb(223 212 23 / 0.35);
}
Citrine
#dfd417 rgb(223, 212, 23) hsl(57, 81%, 48%) Citrine
#1722df rgb(23, 34, 223) hsl(237, 81%, 48%) Blue
#17dfd4 rgb(23, 223, 212) hsl(177, 81%, 48%) Turquoise
#d417df rgb(212, 23, 223) hsl(297, 81%, 48%) Electric Purple