#d8ca04 ≈ Citrine
#d8ca04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 79.22% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.48% magenta, 98.15% yellow and 15.29% black. Its hue angle is 56.04°, with 96.36% saturation and 43.14% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.24.
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.5685 |
Shades
#d8ca04 mixed progressively with black.
Tints
#d8ca04 mixed progressively with white.
Tones
#d8ca04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8ca04 {
color: #d8ca04;
}
.bg-d8ca04 {
background-color: #d8ca04;
color: #000000;
}
.border-d8ca04 {
border: 2px solid #d8ca04;
}
:root {
--color-primary: #d8ca04;
--color-primary-rgb: 216 202 4;
--color-primary-hsl: 56 96% 43%;
}
.gradient-d8ca04 {
background: linear-gradient(135deg, #d8ca04, #7cd804);
}
.shadow-d8ca04 {
box-shadow: 0 8px 24px rgb(216 202 4 / 0.35);
}
Citrine
#d8ca04 rgb(216, 202, 4) hsl(56, 96%, 43%) Citrine
#0412d8 rgb(4, 18, 216) hsl(236, 96%, 43%) Medium Blue
#04d8ca rgb(4, 216, 202) hsl(176, 96%, 43%) Turquoise
#ca04d8 rgb(202, 4, 216) hsl(296, 96%, 43%) Electric Purple