#e2ab2f ≈ Goldenrod
#e2ab2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 67.06% green and 18.43% blue; printed in CMYK it uses 0% cyan, 24.34% magenta, 79.2% yellow and 11.37% black. Its hue angle is 41.56°, 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 10.1:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.455 |
Shades
#e2ab2f mixed progressively with black.
Tints
#e2ab2f mixed progressively with white.
Tones
#e2ab2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2ab2f {
color: #e2ab2f;
}
.bg-e2ab2f {
background-color: #e2ab2f;
color: #000000;
}
.border-e2ab2f {
border: 2px solid #e2ab2f;
}
:root {
--color-primary: #e2ab2f;
--color-primary-rgb: 226 171 47;
--color-primary-hsl: 42 76% 54%;
}
.gradient-e2ab2f {
background: linear-gradient(135deg, #e2ab2f, #c0e22f);
}
.shadow-e2ab2f {
box-shadow: 0 8px 24px rgb(226 171 47 / 0.35);
}
Goldenrod
#e2ab2f rgb(226, 171, 47) hsl(42, 76%, 54%) Goldenrod
#2f66e2 rgb(47, 102, 226) hsl(222, 76%, 54%) Royal Blue
#2fe2ab rgb(47, 226, 171) hsl(162, 76%, 54%) Caribbean Green
#ab2fe2 rgb(171, 47, 226) hsl(282, 76%, 54%) Dark Orchid