#dfd408 ≈ Citrine
#dfd408 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 3.14% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 96.41% yellow and 12.55% black. Its hue angle is 56.93°, with 93.07% saturation and 45.29% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.22.
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.6279 |
Shades
#dfd408 mixed progressively with black.
Tints
#dfd408 mixed progressively with white.
Tones
#dfd408 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd408 {
color: #dfd408;
}
.bg-dfd408 {
background-color: #dfd408;
color: #000000;
}
.border-dfd408 {
border: 2px solid #dfd408;
}
:root {
--color-primary: #dfd408;
--color-primary-rgb: 223 212 8;
--color-primary-hsl: 57 93% 45%;
}
.gradient-dfd408 {
background: linear-gradient(135deg, #dfd408, #7edf08);
}
.shadow-dfd408 {
box-shadow: 0 8px 24px rgb(223 212 8 / 0.35);
}
Citrine
#dfd408 rgb(223, 212, 8) hsl(57, 93%, 45%) Citrine
#0813df rgb(8, 19, 223) hsl(237, 93%, 45%) Medium Blue
#08dfd4 rgb(8, 223, 212) hsl(177, 93%, 45%) Bright Turquoise
#d408df rgb(212, 8, 223) hsl(297, 93%, 45%) Electric Purple