#e2d22f ≈ Citrine
#e2d22f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 82.35% green and 18.43% blue; printed in CMYK it uses 0% cyan, 7.08% magenta, 79.2% yellow and 11.37% black. Its hue angle is 54.64°, 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.49:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.8.
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.6247 |
Shades
#e2d22f mixed progressively with black.
Tints
#e2d22f mixed progressively with white.
Tones
#e2d22f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2d22f {
color: #e2d22f;
}
.bg-e2d22f {
background-color: #e2d22f;
color: #000000;
}
.border-e2d22f {
border: 2px solid #e2d22f;
}
:root {
--color-primary: #e2d22f;
--color-primary-rgb: 226 210 47;
--color-primary-hsl: 55 76% 54%;
}
.gradient-e2d22f {
background: linear-gradient(135deg, #e2d22f, #98e22f);
}
.shadow-e2d22f {
box-shadow: 0 8px 24px rgb(226 210 47 / 0.35);
}
Citrine
#e2d22f rgb(226, 210, 47) hsl(55, 76%, 54%) Citrine
#2f3fe2 rgb(47, 63, 226) hsl(235, 76%, 54%) Persian Blue
#2fe2d2 rgb(47, 226, 210) hsl(175, 76%, 54%) Turquoise
#d22fe2 rgb(210, 47, 226) hsl(295, 76%, 54%) Medium Orchid