#e2c508 ≈ Citrine
#e2c508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 12.83% magenta, 96.46% yellow and 11.37% black. Its hue angle is 52.02°, with 93.16% saturation and 45.88% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.22:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.28.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5612 |
Shades
#e2c508 mixed progressively with black.
Tints
#e2c508 mixed progressively with white.
Tones
#e2c508 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2c508 {
color: #e2c508;
}
.bg-e2c508 {
background-color: #e2c508;
color: #000000;
}
.border-e2c508 {
border: 2px solid #e2c508;
}
:root {
--color-primary: #e2c508;
--color-primary-rgb: 226 197 8;
--color-primary-hsl: 52 93% 46%;
}
.gradient-e2c508 {
background: linear-gradient(135deg, #e2c508, #92e208);
}
.shadow-e2c508 {
box-shadow: 0 8px 24px rgb(226 197 8 / 0.35);
}
Citrine
#e2c508 rgb(226, 197, 8) hsl(52, 93%, 46%) Citrine
#0825e2 rgb(8, 37, 226) hsl(232, 93%, 46%) Blue
#08e2c5 rgb(8, 226, 197) hsl(172, 93%, 46%) Turquoise
#c508e2 rgb(197, 8, 226) hsl(292, 93%, 46%) Electric Purple