#e2d02f ≈ Citrine
#e2d02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 81.57% green and 18.43% blue; printed in CMYK it uses 0% cyan, 7.96% magenta, 79.2% yellow and 11.37% black. Its hue angle is 53.97°, with 75.53% saturation and 53.53% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.63.
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.6149 |
Shades
#e2d02f mixed progressively with black.
Tints
#e2d02f mixed progressively with white.
Tones
#e2d02f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2d02f {
color: #e2d02f;
}
.bg-e2d02f {
background-color: #e2d02f;
color: #000000;
}
.border-e2d02f {
border: 2px solid #e2d02f;
}
:root {
--color-primary: #e2d02f;
--color-primary-rgb: 226 208 47;
--color-primary-hsl: 54 76% 54%;
}
.gradient-e2d02f {
background: linear-gradient(135deg, #e2d02f, #9ae22f);
}
.shadow-e2d02f {
box-shadow: 0 8px 24px rgb(226 208 47 / 0.35);
}
Citrine
#e2d02f rgb(226, 208, 47) hsl(54, 76%, 54%) Citrine
#2f41e2 rgb(47, 65, 226) hsl(234, 76%, 54%) Iris
#2fe2d0 rgb(47, 226, 208) hsl(174, 76%, 54%) Turquoise
#d02fe2 rgb(208, 47, 226) hsl(294, 76%, 54%) Medium Orchid