#d8d41f ≈ Citrine
#d8d41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 83.14% green and 12.16% blue; printed in CMYK it uses 0% cyan, 1.85% magenta, 85.65% yellow and 15.29% black. Its hue angle is 58.7°, with 74.9% saturation and 48.43% 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 13.36:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.
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.6178 |
Shades
#d8d41f mixed progressively with black.
Tints
#d8d41f mixed progressively with white.
Tones
#d8d41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8d41f {
color: #d8d41f;
}
.bg-d8d41f {
background-color: #d8d41f;
color: #000000;
}
.border-d8d41f {
border: 2px solid #d8d41f;
}
:root {
--color-primary: #d8d41f;
--color-primary-rgb: 216 212 31;
--color-primary-hsl: 59 75% 48%;
}
.gradient-d8d41f {
background: linear-gradient(135deg, #d8d41f, #80d81f);
}
.shadow-d8d41f {
box-shadow: 0 8px 24px rgb(216 212 31 / 0.35);
}
Citrine
#d8d41f rgb(216, 212, 31) hsl(59, 75%, 48%) Citrine
#1f23d8 rgb(31, 35, 216) hsl(239, 75%, 48%) Blue
#1fd8d4 rgb(31, 216, 212) hsl(179, 75%, 48%) Medium Turquoise
#d41fd8 rgb(212, 31, 216) hsl(299, 75%, 48%) Medium Orchid