#ecc331 ≈ Saffron
#ecc331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 17.37% magenta, 79.24% yellow and 7.45% black. Its hue angle is 46.84°, 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 12.42:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.86.
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.5708 |
Shades
#ecc331 mixed progressively with black.
Tints
#ecc331 mixed progressively with white.
Tones
#ecc331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc331 {
color: #ecc331;
}
.bg-ecc331 {
background-color: #ecc331;
color: #000000;
}
.border-ecc331 {
border: 2px solid #ecc331;
}
:root {
--color-primary: #ecc331;
--color-primary-rgb: 236 195 49;
--color-primary-hsl: 47 83% 56%;
}
.gradient-ecc331 {
background: linear-gradient(135deg, #ecc331, #b8ec31);
}
.shadow-ecc331 {
box-shadow: 0 8px 24px rgb(236 195 49 / 0.35);
}
Saffron
#ecc331 rgb(236, 195, 49) hsl(47, 83%, 56%) Saffron
#315aec rgb(49, 90, 236) hsl(227, 83%, 56%) Ultramarine Blue
#31ecc3 rgb(49, 236, 195) hsl(167, 83%, 56%) Aquamarine
#c331ec rgb(195, 49, 236) hsl(287, 83%, 56%) Electric Purple