#e8d42e ≈ Citrine
#e8d42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 90.98% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.62% magenta, 80.17% yellow and 9.02% black. Its hue angle is 53.55°, with 80.17% saturation and 54.51% 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 13.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.52.
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.6444 |
Shades
#e8d42e mixed progressively with black.
Tints
#e8d42e mixed progressively with white.
Tones
#e8d42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e8d42e {
color: #e8d42e;
}
.bg-e8d42e {
background-color: #e8d42e;
color: #000000;
}
.border-e8d42e {
border: 2px solid #e8d42e;
}
:root {
--color-primary: #e8d42e;
--color-primary-rgb: 232 212 46;
--color-primary-hsl: 54 80% 55%;
}
.gradient-e8d42e {
background: linear-gradient(135deg, #e8d42e, #9fe82e);
}
.shadow-e8d42e {
box-shadow: 0 8px 24px rgb(232 212 46 / 0.35);
}
Citrine
#e8d42e rgb(232, 212, 46) hsl(54, 80%, 55%) Citrine
#2e42e8 rgb(46, 66, 232) hsl(234, 80%, 55%) Iris
#2ee8d4 rgb(46, 232, 212) hsl(174, 80%, 55%) Turquoise
#d42ee8 rgb(212, 46, 232) hsl(294, 80%, 55%) Medium Orchid