#ecd804 ≈ Citrine
#ecd804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 84.71% green and 1.57% blue; printed in CMYK it uses 0% cyan, 8.47% magenta, 98.31% yellow and 7.45% black. Its hue angle is 54.83°, with 96.67% saturation and 47.06% 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 14.39:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6695 |
Shades
#ecd804 mixed progressively with black.
Tints
#ecd804 mixed progressively with white.
Tones
#ecd804 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd804 {
color: #ecd804;
}
.bg-ecd804 {
background-color: #ecd804;
color: #000000;
}
.border-ecd804 {
border: 2px solid #ecd804;
}
:root {
--color-primary: #ecd804;
--color-primary-rgb: 236 216 4;
--color-primary-hsl: 55 97% 47%;
}
.gradient-ecd804 {
background: linear-gradient(135deg, #ecd804, #8cec04);
}
.shadow-ecd804 {
box-shadow: 0 8px 24px rgb(236 216 4 / 0.35);
}
Citrine
#ecd804 rgb(236, 216, 4) hsl(55, 97%, 47%) Citrine
#0418ec rgb(4, 24, 236) hsl(235, 97%, 47%) Blue
#04ecd8 rgb(4, 236, 216) hsl(175, 97%, 47%) Turquoise
#d804ec rgb(216, 4, 236) hsl(295, 97%, 47%) Electric Purple