#e2c822 ≈ Citrine
#e2c822 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 78.43% green and 13.33% blue; printed in CMYK it uses 0% cyan, 11.5% magenta, 84.96% yellow and 11.37% black. Its hue angle is 51.88°, with 76.8% saturation and 50.98% 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.52:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.58.
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.5759 |
Shades
#e2c822 mixed progressively with black.
Tints
#e2c822 mixed progressively with white.
Tones
#e2c822 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2c822 {
color: #e2c822;
}
.bg-e2c822 {
background-color: #e2c822;
color: #000000;
}
.border-e2c822 {
border: 2px solid #e2c822;
}
:root {
--color-primary: #e2c822;
--color-primary-rgb: 226 200 34;
--color-primary-hsl: 52 77% 51%;
}
.gradient-e2c822 {
background: linear-gradient(135deg, #e2c822, #9ce222);
}
.shadow-e2c822 {
box-shadow: 0 8px 24px rgb(226 200 34 / 0.35);
}
Citrine
#e2c822 rgb(226, 200, 34) hsl(52, 77%, 51%) Citrine
#223ce2 rgb(34, 60, 226) hsl(232, 77%, 51%) Persian Blue
#22e2c8 rgb(34, 226, 200) hsl(172, 77%, 51%) Turquoise
#c822e2 rgb(200, 34, 226) hsl(292, 77%, 51%) Electric Purple