#e2cd04 ≈ Citrine
#e2cd04 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.39% green and 1.57% blue; printed in CMYK it uses 0% cyan, 9.29% magenta, 98.23% yellow and 11.37% black. Its hue angle is 54.32°, with 96.52% saturation and 45.1% 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.97:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.72.
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.5984 |
Shades
#e2cd04 mixed progressively with black.
Tints
#e2cd04 mixed progressively with white.
Tones
#e2cd04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2cd04 {
color: #e2cd04;
}
.bg-e2cd04 {
background-color: #e2cd04;
color: #000000;
}
.border-e2cd04 {
border: 2px solid #e2cd04;
}
:root {
--color-primary: #e2cd04;
--color-primary-rgb: 226 205 4;
--color-primary-hsl: 54 97% 45%;
}
.gradient-e2cd04 {
background: linear-gradient(135deg, #e2cd04, #88e204);
}
.shadow-e2cd04 {
box-shadow: 0 8px 24px rgb(226 205 4 / 0.35);
}
Citrine
#e2cd04 rgb(226, 205, 4) hsl(54, 97%, 45%) Citrine
#0419e2 rgb(4, 25, 226) hsl(234, 97%, 45%) Blue
#04e2cd rgb(4, 226, 205) hsl(174, 97%, 45%) Turquoise
#cd04e2 rgb(205, 4, 226) hsl(294, 97%, 45%) Electric Purple