#dfd02f ≈ Citrine
#dfd02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 81.57% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 78.92% yellow and 12.55% black. Its hue angle is 54.89°, with 73.33% saturation and 52.94% 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 brand accents. Black text on this color reaches a contrast ratio of 13.2:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.61 |
Shades
#dfd02f mixed progressively with black.
Tints
#dfd02f mixed progressively with white.
Tones
#dfd02f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd02f {
color: #dfd02f;
}
.bg-dfd02f {
background-color: #dfd02f;
color: #000000;
}
.border-dfd02f {
border: 2px solid #dfd02f;
}
:root {
--color-primary: #dfd02f;
--color-primary-rgb: 223 208 47;
--color-primary-hsl: 55 73% 53%;
}
.gradient-dfd02f {
background: linear-gradient(135deg, #dfd02f, #96df2f);
}
.shadow-dfd02f {
box-shadow: 0 8px 24px rgb(223 208 47 / 0.35);
}
Citrine
#dfd02f rgb(223, 208, 47) hsl(55, 73%, 53%) Citrine
#2f3edf rgb(47, 62, 223) hsl(235, 73%, 53%) Persian Blue
#2fdfd0 rgb(47, 223, 208) hsl(175, 73%, 53%) Turquoise
#d02fdf rgb(208, 47, 223) hsl(295, 73%, 53%) Medium Orchid