#dfd406 ≈ Citrine
#dfd406 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 2.35% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 97.31% yellow and 12.55% black. Its hue angle is 56.96°, with 94.76% saturation and 44.9% 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
#dfd406 mixed progressively with black.
Tints
#dfd406 mixed progressively with white.
Tones
#dfd406 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd406 {
color: #dfd406;
}
.bg-dfd406 {
background-color: #dfd406;
color: #000000;
}
.border-dfd406 {
border: 2px solid #dfd406;
}
:root {
--color-primary: #dfd406;
--color-primary-rgb: 223 212 6;
--color-primary-hsl: 57 95% 45%;
}
.gradient-dfd406 {
background: linear-gradient(135deg, #dfd406, #7ddf06);
}
.shadow-dfd406 {
box-shadow: 0 8px 24px rgb(223 212 6 / 0.35);
}
Citrine
#dfd406 rgb(223, 212, 6) hsl(57, 95%, 45%) Citrine
#0611df rgb(6, 17, 223) hsl(237, 95%, 45%) Medium Blue
#06dfd4 rgb(6, 223, 212) hsl(177, 95%, 45%) Bright Turquoise
#d406df rgb(212, 6, 223) hsl(297, 95%, 45%) Electric Purple