#e0cc02 ≈ Citrine
#e0cc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.84% red, 80% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.93% magenta, 99.11% yellow and 12.16% black. Its hue angle is 54.59°, with 98.23% saturation and 44.31% 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.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.96.
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.5904 |
Shades
#e0cc02 mixed progressively with black.
Tints
#e0cc02 mixed progressively with white.
Tones
#e0cc02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e0cc02 {
color: #e0cc02;
}
.bg-e0cc02 {
background-color: #e0cc02;
color: #000000;
}
.border-e0cc02 {
border: 2px solid #e0cc02;
}
:root {
--color-primary: #e0cc02;
--color-primary-rgb: 224 204 2;
--color-primary-hsl: 55 98% 44%;
}
.gradient-e0cc02 {
background: linear-gradient(135deg, #e0cc02, #85e002);
}
.shadow-e0cc02 {
box-shadow: 0 8px 24px rgb(224 204 2 / 0.35);
}
Citrine
#e0cc02 rgb(224, 204, 2) hsl(55, 98%, 44%) Citrine
#0216e0 rgb(2, 22, 224) hsl(235, 98%, 44%) Blue
#02e0cc rgb(2, 224, 204) hsl(175, 98%, 44%) Turquoise
#cc02e0 rgb(204, 2, 224) hsl(295, 98%, 44%) Electric Purple