#d8cd18 ≈ Citrine
#d8cd18 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 9.41% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 88.89% yellow and 15.29% black. Its hue angle is 56.56°, with 80% saturation and 47.06% 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.67:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.54.
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.5833 |
Shades
#d8cd18 mixed progressively with black.
Tints
#d8cd18 mixed progressively with white.
Tones
#d8cd18 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd18 {
color: #d8cd18;
}
.bg-d8cd18 {
background-color: #d8cd18;
color: #000000;
}
.border-d8cd18 {
border: 2px solid #d8cd18;
}
:root {
--color-primary: #d8cd18;
--color-primary-rgb: 216 205 24;
--color-primary-hsl: 57 80% 47%;
}
.gradient-d8cd18 {
background: linear-gradient(135deg, #d8cd18, #83d818);
}
.shadow-d8cd18 {
box-shadow: 0 8px 24px rgb(216 205 24 / 0.35);
}
Citrine
#d8cd18 rgb(216, 205, 24) hsl(57, 80%, 47%) Citrine
#1823d8 rgb(24, 35, 216) hsl(237, 80%, 47%) Blue
#18d8cd rgb(24, 216, 205) hsl(177, 80%, 47%) Turquoise
#cd18d8 rgb(205, 24, 216) hsl(297, 80%, 47%) Electric Purple