#e8d72a ≈ Citrine
#e8d72a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 90.98% red, 84.31% green and 16.47% blue; printed in CMYK it uses 0% cyan, 7.33% magenta, 81.9% yellow and 9.02% black. Its hue angle is 54.63°, with 80.51% saturation and 53.73% 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 14.18:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6592 |
Shades
#e8d72a mixed progressively with black.
Tints
#e8d72a mixed progressively with white.
Tones
#e8d72a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e8d72a {
color: #e8d72a;
}
.bg-e8d72a {
background-color: #e8d72a;
color: #000000;
}
.border-e8d72a {
border: 2px solid #e8d72a;
}
:root {
--color-primary: #e8d72a;
--color-primary-rgb: 232 215 42;
--color-primary-hsl: 55 81% 54%;
}
.gradient-e8d72a {
background: linear-gradient(135deg, #e8d72a, #9ae82a);
}
.shadow-e8d72a {
box-shadow: 0 8px 24px rgb(232 215 42 / 0.35);
}
Citrine
#e8d72a rgb(232, 215, 42) hsl(55, 81%, 54%) Citrine
#2a3be8 rgb(42, 59, 232) hsl(235, 81%, 54%) Han Purple
#2ae8d7 rgb(42, 232, 215) hsl(175, 81%, 54%) Turquoise
#d72ae8 rgb(215, 42, 232) hsl(295, 81%, 54%) Medium Orchid