#d5cb2f ≈ Citrine
#d5cb2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 79.61% green and 18.43% blue; printed in CMYK it uses 0% cyan, 4.69% magenta, 77.93% yellow and 16.47% black. Its hue angle is 56.39°, 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.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.62.
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.5706 |
Shades
#d5cb2f mixed progressively with black.
Tints
#d5cb2f mixed progressively with white.
Tones
#d5cb2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cb2f {
color: #d5cb2f;
}
.bg-d5cb2f {
background-color: #d5cb2f;
color: #000000;
}
.border-d5cb2f {
border: 2px solid #d5cb2f;
}
:root {
--color-primary: #d5cb2f;
--color-primary-rgb: 213 203 47;
--color-primary-hsl: 56 66% 51%;
}
.gradient-d5cb2f {
background: linear-gradient(135deg, #d5cb2f, #8cd52f);
}
.shadow-d5cb2f {
box-shadow: 0 8px 24px rgb(213 203 47 / 0.35);
}
Citrine
#d5cb2f rgb(213, 203, 47) hsl(56, 66%, 51%) Citrine
#2f39d5 rgb(47, 57, 213) hsl(236, 66%, 51%) Persian Blue
#2fd5cb rgb(47, 213, 203) hsl(176, 66%, 51%) Medium Turquoise
#cb2fd5 rgb(203, 47, 213) hsl(296, 66%, 51%) Medium Orchid