#ecbc2a ≈ Saffron
#ecbc2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 20.34% magenta, 82.2% yellow and 7.45% black. Its hue angle is 45.15°, with 83.62% saturation and 54.51% 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.79:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.99.
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.5397 |
Shades
#ecbc2a mixed progressively with black.
Tints
#ecbc2a mixed progressively with white.
Tones
#ecbc2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecbc2a {
color: #ecbc2a;
}
.bg-ecbc2a {
background-color: #ecbc2a;
color: #000000;
}
.border-ecbc2a {
border: 2px solid #ecbc2a;
}
:root {
--color-primary: #ecbc2a;
--color-primary-rgb: 236 188 42;
--color-primary-hsl: 45 84% 55%;
}
.gradient-ecbc2a {
background: linear-gradient(135deg, #ecbc2a, #bbec2a);
}
.shadow-ecbc2a {
box-shadow: 0 8px 24px rgb(236 188 42 / 0.35);
}
Saffron
#ecbc2a rgb(236, 188, 42) hsl(45, 84%, 55%) Saffron
#2a5aec rgb(42, 90, 236) hsl(225, 84%, 55%) Ultramarine Blue
#2aecbc rgb(42, 236, 188) hsl(165, 84%, 55%) Aquamarine
#bc2aec rgb(188, 42, 236) hsl(285, 84%, 55%) Electric Purple