#e4cc31 ≈ Citrine
#e4cc31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 89.41% red, 80% green and 19.22% blue; printed in CMYK it uses 0% cyan, 10.53% magenta, 78.51% yellow and 10.59% black. Its hue angle is 51.96°, with 76.82% saturation and 54.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 brand accents. Black text on this color reaches a contrast ratio of 12.98:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.27.
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.599 |
Shades
#e4cc31 mixed progressively with black.
Tints
#e4cc31 mixed progressively with white.
Tones
#e4cc31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e4cc31 {
color: #e4cc31;
}
.bg-e4cc31 {
background-color: #e4cc31;
color: #000000;
}
.border-e4cc31 {
border: 2px solid #e4cc31;
}
:root {
--color-primary: #e4cc31;
--color-primary-rgb: 228 204 49;
--color-primary-hsl: 52 77% 54%;
}
.gradient-e4cc31 {
background: linear-gradient(135deg, #e4cc31, #a2e431);
}
.shadow-e4cc31 {
box-shadow: 0 8px 24px rgb(228 204 49 / 0.35);
}
Citrine
#e4cc31 rgb(228, 204, 49) hsl(52, 77%, 54%) Citrine
#3149e4 rgb(49, 73, 228) hsl(232, 77%, 54%) Iris
#31e4cc rgb(49, 228, 204) hsl(172, 77%, 54%) Turquoise
#cc31e4 rgb(204, 49, 228) hsl(292, 77%, 54%) Medium Orchid