#ecd22e ≈ Citrine
#ecd22e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 82.35% green and 18.04% blue; printed in CMYK it uses 0% cyan, 11.02% magenta, 80.51% yellow and 7.45% black. Its hue angle is 51.79°, with 83.33% saturation and 55.29% 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.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.05.
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.6412 |
Shades
#ecd22e mixed progressively with black.
Tints
#ecd22e mixed progressively with white.
Tones
#ecd22e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd22e {
color: #ecd22e;
}
.bg-ecd22e {
background-color: #ecd22e;
color: #000000;
}
.border-ecd22e {
border: 2px solid #ecd22e;
}
:root {
--color-primary: #ecd22e;
--color-primary-rgb: 236 210 46;
--color-primary-hsl: 52 83% 55%;
}
.gradient-ecd22e {
background: linear-gradient(135deg, #ecd22e, #a7ec2e);
}
.shadow-ecd22e {
box-shadow: 0 8px 24px rgb(236 210 46 / 0.35);
}
Citrine
#ecd22e rgb(236, 210, 46) hsl(52, 83%, 55%) Citrine
#2e48ec rgb(46, 72, 236) hsl(232, 83%, 55%) Iris
#2eecd2 rgb(46, 236, 210) hsl(172, 83%, 55%) Turquoise
#d22eec rgb(210, 46, 236) hsl(292, 83%, 55%) Medium Orchid