#d5cf2f ≈ Citrine
#d5cf2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 81.18% green and 18.43% blue; printed in CMYK it uses 0% cyan, 2.82% magenta, 77.93% yellow and 16.47% black. Its hue angle is 57.83°, with 66.4% saturation and 50.98% 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 12.8:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.02.
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.5898 |
Shades
#d5cf2f mixed progressively with black.
Tints
#d5cf2f mixed progressively with white.
Tones
#d5cf2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cf2f {
color: #d5cf2f;
}
.bg-d5cf2f {
background-color: #d5cf2f;
color: #000000;
}
.border-d5cf2f {
border: 2px solid #d5cf2f;
}
:root {
--color-primary: #d5cf2f;
--color-primary-rgb: 213 207 47;
--color-primary-hsl: 58 66% 51%;
}
.gradient-d5cf2f {
background: linear-gradient(135deg, #d5cf2f, #88d52f);
}
.shadow-d5cf2f {
box-shadow: 0 8px 24px rgb(213 207 47 / 0.35);
}
Citrine
#d5cf2f rgb(213, 207, 47) hsl(58, 66%, 51%) Citrine
#2f35d5 rgb(47, 53, 213) hsl(238, 66%, 51%) Persian Blue
#2fd5cf rgb(47, 213, 207) hsl(178, 66%, 51%) Medium Turquoise
#cf2fd5 rgb(207, 47, 213) hsl(298, 66%, 51%) Medium Orchid