#ecd331 ≈ Citrine
#ecd331 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.75% green and 19.22% blue; printed in CMYK it uses 0% cyan, 10.59% magenta, 79.24% yellow and 7.45% black. Its hue angle is 51.98°, with 83.11% saturation and 55.88% 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.93: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.6464 |
Shades
#ecd331 mixed progressively with black.
Tints
#ecd331 mixed progressively with white.
Tones
#ecd331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd331 {
color: #ecd331;
}
.bg-ecd331 {
background-color: #ecd331;
color: #000000;
}
.border-ecd331 {
border: 2px solid #ecd331;
}
:root {
--color-primary: #ecd331;
--color-primary-rgb: 236 211 49;
--color-primary-hsl: 52 83% 56%;
}
.gradient-ecd331 {
background: linear-gradient(135deg, #ecd331, #a7ec31);
}
.shadow-ecd331 {
box-shadow: 0 8px 24px rgb(236 211 49 / 0.35);
}
Citrine
#ecd331 rgb(236, 211, 49) hsl(52, 83%, 56%) Citrine
#314aec rgb(49, 74, 236) hsl(232, 83%, 56%) Iris
#31ecd3 rgb(49, 236, 211) hsl(172, 83%, 56%) Turquoise
#d331ec rgb(211, 49, 236) hsl(292, 83%, 56%) Medium Orchid