#ecbe1f ≈ Saffron
#ecbe1f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 74.51% green and 12.16% blue; printed in CMYK it uses 0% cyan, 19.49% magenta, 86.86% yellow and 7.45% black. Its hue angle is 46.54°, 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.95:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.77.
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.5476 |
Shades
#ecbe1f mixed progressively with black.
Tints
#ecbe1f mixed progressively with white.
Tones
#ecbe1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecbe1f {
color: #ecbe1f;
}
.bg-ecbe1f {
background-color: #ecbe1f;
color: #000000;
}
.border-ecbe1f {
border: 2px solid #ecbe1f;
}
:root {
--color-primary: #ecbe1f;
--color-primary-rgb: 236 190 31;
--color-primary-hsl: 47 84% 52%;
}
.gradient-ecbe1f {
background: linear-gradient(135deg, #ecbe1f, #b3ec1f);
}
.shadow-ecbe1f {
box-shadow: 0 8px 24px rgb(236 190 31 / 0.35);
}
Saffron
#ecbe1f rgb(236, 190, 31) hsl(47, 84%, 52%) Saffron
#1f4dec rgb(31, 77, 236) hsl(227, 84%, 52%) Iris
#1fecbe rgb(31, 236, 190) hsl(167, 84%, 52%) Aquamarine
#be1fec rgb(190, 31, 236) hsl(287, 84%, 52%) Electric Purple