#e4cb1a ≈ Citrine
#e4cb1a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 79.61% green and 10.2% blue; printed in CMYK it uses 0% cyan, 10.96% magenta, 88.6% yellow and 10.59% black. Its hue angle is 52.57°, with 79.53% saturation and 49.8% 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.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.74.
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.5928 |
Shades
#e4cb1a mixed progressively with black.
Tints
#e4cb1a mixed progressively with white.
Tones
#e4cb1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e4cb1a {
color: #e4cb1a;
}
.bg-e4cb1a {
background-color: #e4cb1a;
color: #000000;
}
.border-e4cb1a {
border: 2px solid #e4cb1a;
}
:root {
--color-primary: #e4cb1a;
--color-primary-rgb: 228 203 26;
--color-primary-hsl: 53 80% 50%;
}
.gradient-e4cb1a {
background: linear-gradient(135deg, #e4cb1a, #98e41a);
}
.shadow-e4cb1a {
box-shadow: 0 8px 24px rgb(228 203 26 / 0.35);
}
Citrine
#e4cb1a rgb(228, 203, 26) hsl(53, 80%, 50%) Citrine
#1a33e4 rgb(26, 51, 228) hsl(233, 80%, 50%) Persian Blue
#1ae4cb rgb(26, 228, 203) hsl(173, 80%, 50%) Turquoise
#cb1ae4 rgb(203, 26, 228) hsl(293, 80%, 50%) Electric Purple