#e2cb2f ≈ Citrine
#e2cb2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 79.61% green and 18.43% blue; printed in CMYK it uses 0% cyan, 10.18% magenta, 79.2% yellow and 11.37% black. Its hue angle is 52.29°, 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 12.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.25.
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.5909 |
Shades
#e2cb2f mixed progressively with black.
Tints
#e2cb2f mixed progressively with white.
Tones
#e2cb2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2cb2f {
color: #e2cb2f;
}
.bg-e2cb2f {
background-color: #e2cb2f;
color: #000000;
}
.border-e2cb2f {
border: 2px solid #e2cb2f;
}
:root {
--color-primary: #e2cb2f;
--color-primary-rgb: 226 203 47;
--color-primary-hsl: 52 76% 54%;
}
.gradient-e2cb2f {
background: linear-gradient(135deg, #e2cb2f, #a0e22f);
}
.shadow-e2cb2f {
box-shadow: 0 8px 24px rgb(226 203 47 / 0.35);
}
Citrine
#e2cb2f rgb(226, 203, 47) hsl(52, 76%, 54%) Citrine
#2f46e2 rgb(47, 70, 226) hsl(232, 76%, 54%) Iris
#2fe2cb rgb(47, 226, 203) hsl(172, 76%, 54%) Turquoise
#cb2fe2 rgb(203, 47, 226) hsl(292, 76%, 54%) Medium Orchid