#e2ce0c ≈ Citrine
#e2ce0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 80.78% green and 4.71% blue; printed in CMYK it uses 0% cyan, 8.85% magenta, 94.69% yellow and 11.37% black. Its hue angle is 54.39°, with 89.92% saturation and 46.67% 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 13.07:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.5.
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.6034 |
Shades
#e2ce0c mixed progressively with black.
Tints
#e2ce0c mixed progressively with white.
Tones
#e2ce0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2ce0c {
color: #e2ce0c;
}
.bg-e2ce0c {
background-color: #e2ce0c;
color: #000000;
}
.border-e2ce0c {
border: 2px solid #e2ce0c;
}
:root {
--color-primary: #e2ce0c;
--color-primary-rgb: 226 206 12;
--color-primary-hsl: 54 90% 47%;
}
.gradient-e2ce0c {
background: linear-gradient(135deg, #e2ce0c, #8be20c);
}
.shadow-e2ce0c {
box-shadow: 0 8px 24px rgb(226 206 12 / 0.35);
}
Citrine
#e2ce0c rgb(226, 206, 12) hsl(54, 90%, 47%) Citrine
#0c20e2 rgb(12, 32, 226) hsl(234, 90%, 47%) Blue
#0ce2ce rgb(12, 226, 206) hsl(174, 90%, 47%) Turquoise
#ce0ce2 rgb(206, 12, 226) hsl(294, 90%, 47%) Electric Purple