#d8cd0e ≈ Citrine
#d8cd0e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 80.39% green and 5.49% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 93.52% yellow and 15.29% black. Its hue angle is 56.73°, with 87.83% saturation and 45.1% 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.66:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.45.
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.5829 |
Shades
#d8cd0e mixed progressively with black.
Tints
#d8cd0e mixed progressively with white.
Tones
#d8cd0e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd0e {
color: #d8cd0e;
}
.bg-d8cd0e {
background-color: #d8cd0e;
color: #000000;
}
.border-d8cd0e {
border: 2px solid #d8cd0e;
}
:root {
--color-primary: #d8cd0e;
--color-primary-rgb: 216 205 14;
--color-primary-hsl: 57 88% 45%;
}
.gradient-d8cd0e {
background: linear-gradient(135deg, #d8cd0e, #7ed80e);
}
.shadow-d8cd0e {
box-shadow: 0 8px 24px rgb(216 205 14 / 0.35);
}
Citrine
#d8cd0e rgb(216, 205, 14) hsl(57, 88%, 45%) Citrine
#0e19d8 rgb(14, 25, 216) hsl(237, 88%, 45%) Medium Blue
#0ed8cd rgb(14, 216, 205) hsl(177, 88%, 45%) Turquoise
#cd0ed8 rgb(205, 14, 216) hsl(297, 88%, 45%) Electric Purple