#d5cd17 ≈ Citrine
#d5cd17 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.39% green and 9.02% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 89.2% yellow and 16.47% black. Its hue angle is 57.47°, with 80.51% saturation and 46.27% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5787 |
Shades
#d5cd17 mixed progressively with black.
Tints
#d5cd17 mixed progressively with white.
Tones
#d5cd17 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cd17 {
color: #d5cd17;
}
.bg-d5cd17 {
background-color: #d5cd17;
color: #000000;
}
.border-d5cd17 {
border: 2px solid #d5cd17;
}
:root {
--color-primary: #d5cd17;
--color-primary-rgb: 213 205 23;
--color-primary-hsl: 57 81% 46%;
}
.gradient-d5cd17 {
background: linear-gradient(135deg, #d5cd17, #7ed517);
}
.shadow-d5cd17 {
box-shadow: 0 8px 24px rgb(213 205 23 / 0.35);
}
Citrine
#d5cd17 rgb(213, 205, 23) hsl(57, 81%, 46%) Citrine
#171fd5 rgb(23, 31, 213) hsl(237, 81%, 46%) Medium Blue
#17d5cd rgb(23, 213, 205) hsl(177, 81%, 46%) Medium Turquoise
#cd17d5 rgb(205, 23, 213) hsl(297, 81%, 46%) Electric Purple