#e4cb1f ≈ Citrine
#e4cb1f 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 12.16% blue; printed in CMYK it uses 0% cyan, 10.96% magenta, 86.4% yellow and 10.59% black. Its hue angle is 52.39°, with 78.49% saturation and 50.78% 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.83.
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.593 |
Shades
#e4cb1f mixed progressively with black.
Tints
#e4cb1f mixed progressively with white.
Tones
#e4cb1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e4cb1f {
color: #e4cb1f;
}
.bg-e4cb1f {
background-color: #e4cb1f;
color: #000000;
}
.border-e4cb1f {
border: 2px solid #e4cb1f;
}
:root {
--color-primary: #e4cb1f;
--color-primary-rgb: 228 203 31;
--color-primary-hsl: 52 78% 51%;
}
.gradient-e4cb1f {
background: linear-gradient(135deg, #e4cb1f, #9ae41f);
}
.shadow-e4cb1f {
box-shadow: 0 8px 24px rgb(228 203 31 / 0.35);
}
Citrine
#e4cb1f rgb(228, 203, 31) hsl(52, 78%, 51%) Citrine
#1f38e4 rgb(31, 56, 228) hsl(232, 78%, 51%) Persian Blue
#1fe4cb rgb(31, 228, 203) hsl(172, 78%, 51%) Turquoise
#cb1fe4 rgb(203, 31, 228) hsl(292, 78%, 51%) Electric Purple