#ecbc12 ≈ Saffron
#ecbc12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 73.73% green and 7.06% blue; printed in CMYK it uses 0% cyan, 20.34% magenta, 92.37% yellow and 7.45% black. Its hue angle is 46.79°, with 85.83% saturation and 49.8% 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 11.77:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.21.
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.5384 |
Shades
#ecbc12 mixed progressively with black.
Tints
#ecbc12 mixed progressively with white.
Tones
#ecbc12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecbc12 {
color: #ecbc12;
}
.bg-ecbc12 {
background-color: #ecbc12;
color: #000000;
}
.border-ecbc12 {
border: 2px solid #ecbc12;
}
:root {
--color-primary: #ecbc12;
--color-primary-rgb: 236 188 18;
--color-primary-hsl: 47 86% 50%;
}
.gradient-ecbc12 {
background: linear-gradient(135deg, #ecbc12, #afec12);
}
.shadow-ecbc12 {
box-shadow: 0 8px 24px rgb(236 188 18 / 0.35);
}
Saffron
#ecbc12 rgb(236, 188, 18) hsl(47, 86%, 50%) Saffron
#1242ec rgb(18, 66, 236) hsl(227, 86%, 50%) Iris
#12ecbc rgb(18, 236, 188) hsl(167, 86%, 50%) Aquamarine
#bc12ec rgb(188, 18, 236) hsl(287, 86%, 50%) Electric Purple