#ecd221 ≈ Citrine
#ecd221 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 82.35% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 86.02% yellow and 7.45% black. Its hue angle is 52.32°, with 84.23% saturation and 52.75% 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.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6404 |
Shades
#ecd221 mixed progressively with black.
Tints
#ecd221 mixed progressively with white.
Tones
#ecd221 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd221 {
color: #ecd221;
}
.bg-ecd221 {
background-color: #ecd221;
color: #000000;
}
.border-ecd221 {
border: 2px solid #ecd221;
}
:root {
--color-primary: #ecd221;
--color-primary-rgb: 236 210 33;
--color-primary-hsl: 52 84% 53%;
}
.gradient-ecd221 {
background: linear-gradient(135deg, #ecd221, #a0ec21);
}
.shadow-ecd221 {
box-shadow: 0 8px 24px rgb(236 210 33 / 0.35);
}
Citrine
#ecd221 rgb(236, 210, 33) hsl(52, 84%, 53%) Citrine
#213bec rgb(33, 59, 236) hsl(232, 84%, 53%) Han Purple
#21ecd2 rgb(33, 236, 210) hsl(172, 84%, 53%) Turquoise
#d221ec rgb(210, 33, 236) hsl(292, 84%, 53%) Electric Purple