#ecd008 ≈ Citrine
#ecd008 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 81.57% green and 3.14% blue; printed in CMYK it uses 0% cyan, 11.86% magenta, 96.61% yellow and 7.45% black. Its hue angle is 52.63°, with 93.44% saturation and 47.84% 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.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.97.
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.6296 |
Shades
#ecd008 mixed progressively with black.
Tints
#ecd008 mixed progressively with white.
Tones
#ecd008 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd008 {
color: #ecd008;
}
.bg-ecd008 {
background-color: #ecd008;
color: #000000;
}
.border-ecd008 {
border: 2px solid #ecd008;
}
:root {
--color-primary: #ecd008;
--color-primary-rgb: 236 208 8;
--color-primary-hsl: 53 93% 48%;
}
.gradient-ecd008 {
background: linear-gradient(135deg, #ecd008, #96ec08);
}
.shadow-ecd008 {
box-shadow: 0 8px 24px rgb(236 208 8 / 0.35);
}
Citrine
#ecd008 rgb(236, 208, 8) hsl(53, 93%, 48%) Citrine
#0824ec rgb(8, 36, 236) hsl(233, 93%, 48%) Blue
#08ecd0 rgb(8, 236, 208) hsl(173, 93%, 48%) Turquoise
#d008ec rgb(208, 8, 236) hsl(293, 93%, 48%) Electric Purple