#ecd20b ≈ Citrine
#ecd20b 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 4.31% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 95.34% yellow and 7.45% black. Its hue angle is 53.07°, with 91.09% saturation and 48.43% 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.79:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.61.
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.6395 |
Shades
#ecd20b mixed progressively with black.
Tints
#ecd20b mixed progressively with white.
Tones
#ecd20b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd20b {
color: #ecd20b;
}
.bg-ecd20b {
background-color: #ecd20b;
color: #000000;
}
.border-ecd20b {
border: 2px solid #ecd20b;
}
:root {
--color-primary: #ecd20b;
--color-primary-rgb: 236 210 11;
--color-primary-hsl: 53 91% 48%;
}
.gradient-ecd20b {
background: linear-gradient(135deg, #ecd20b, #95ec0b);
}
.shadow-ecd20b {
box-shadow: 0 8px 24px rgb(236 210 11 / 0.35);
}
Citrine
#ecd20b rgb(236, 210, 11) hsl(53, 91%, 48%) Citrine
#0b25ec rgb(11, 37, 236) hsl(233, 91%, 48%) Blue
#0becd2 rgb(11, 236, 210) hsl(173, 91%, 48%) Turquoise
#d20bec rgb(210, 11, 236) hsl(293, 91%, 48%) Electric Purple