#dfcf2f ≈ Citrine
#dfcf2f 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.18% green and 18.43% blue; printed in CMYK it uses 0% cyan, 7.17% magenta, 78.92% yellow and 12.55% black. Its hue angle is 54.55°, 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.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.98.
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.6052 |
Shades
#dfcf2f mixed progressively with black.
Tints
#dfcf2f mixed progressively with white.
Tones
#dfcf2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfcf2f {
color: #dfcf2f;
}
.bg-dfcf2f {
background-color: #dfcf2f;
color: #000000;
}
.border-dfcf2f {
border: 2px solid #dfcf2f;
}
:root {
--color-primary: #dfcf2f;
--color-primary-rgb: 223 207 47;
--color-primary-hsl: 55 73% 53%;
}
.gradient-dfcf2f {
background: linear-gradient(135deg, #dfcf2f, #97df2f);
}
.shadow-dfcf2f {
box-shadow: 0 8px 24px rgb(223 207 47 / 0.35);
}
Citrine
#dfcf2f rgb(223, 207, 47) hsl(55, 73%, 53%) Citrine
#2f3fdf rgb(47, 63, 223) hsl(235, 73%, 53%) Persian Blue
#2fdfcf rgb(47, 223, 207) hsl(175, 73%, 53%) Turquoise
#cf2fdf rgb(207, 47, 223) hsl(295, 73%, 53%) Medium Orchid