#d5cc2f ≈ Citrine
#d5cc2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 80% green and 18.43% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 77.93% yellow and 16.47% black. Its hue angle is 56.75°, 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.51:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.68.
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.5754 |
Shades
#d5cc2f mixed progressively with black.
Tints
#d5cc2f mixed progressively with white.
Tones
#d5cc2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cc2f {
color: #d5cc2f;
}
.bg-d5cc2f {
background-color: #d5cc2f;
color: #000000;
}
.border-d5cc2f {
border: 2px solid #d5cc2f;
}
:root {
--color-primary: #d5cc2f;
--color-primary-rgb: 213 204 47;
--color-primary-hsl: 57 66% 51%;
}
.gradient-d5cc2f {
background: linear-gradient(135deg, #d5cc2f, #8bd52f);
}
.shadow-d5cc2f {
box-shadow: 0 8px 24px rgb(213 204 47 / 0.35);
}
Citrine
#d5cc2f rgb(213, 204, 47) hsl(57, 66%, 51%) Citrine
#2f38d5 rgb(47, 56, 213) hsl(237, 66%, 51%) Persian Blue
#2fd5cc rgb(47, 213, 204) hsl(177, 66%, 51%) Medium Turquoise
#cc2fd5 rgb(204, 47, 213) hsl(297, 66%, 51%) Medium Orchid