#ecbb1f ≈ Saffron
#ecbb1f 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.33% green and 12.16% blue; printed in CMYK it uses 0% cyan, 20.76% magenta, 86.86% yellow and 7.45% black. Its hue angle is 45.66°, with 84.36% saturation and 52.35% 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.69:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.22.
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.5347 |
Shades
#ecbb1f mixed progressively with black.
Tints
#ecbb1f mixed progressively with white.
Tones
#ecbb1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecbb1f {
color: #ecbb1f;
}
.bg-ecbb1f {
background-color: #ecbb1f;
color: #000000;
}
.border-ecbb1f {
border: 2px solid #ecbb1f;
}
:root {
--color-primary: #ecbb1f;
--color-primary-rgb: 236 187 31;
--color-primary-hsl: 46 84% 52%;
}
.gradient-ecbb1f {
background: linear-gradient(135deg, #ecbb1f, #b6ec1f);
}
.shadow-ecbb1f {
box-shadow: 0 8px 24px rgb(236 187 31 / 0.35);
}
Saffron
#ecbb1f rgb(236, 187, 31) hsl(46, 84%, 52%) Saffron
#1f50ec rgb(31, 80, 236) hsl(226, 84%, 52%) Iris
#1fecbb rgb(31, 236, 187) hsl(166, 84%, 52%) Aquamarine
#bb1fec rgb(187, 31, 236) hsl(286, 84%, 52%) Electric Purple