#ebc22b ≈ Saffron
#ebc22b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 76.08% green and 16.86% blue; printed in CMYK it uses 0% cyan, 17.45% magenta, 81.7% yellow and 7.84% black. Its hue angle is 47.19°, with 82.76% 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 12.28:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.01.
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.5642 |
Shades
#ebc22b mixed progressively with black.
Tints
#ebc22b mixed progressively with white.
Tones
#ebc22b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ebc22b {
color: #ebc22b;
}
.bg-ebc22b {
background-color: #ebc22b;
color: #000000;
}
.border-ebc22b {
border: 2px solid #ebc22b;
}
:root {
--color-primary: #ebc22b;
--color-primary-rgb: 235 194 43;
--color-primary-hsl: 47 83% 55%;
}
.gradient-ebc22b {
background: linear-gradient(135deg, #ebc22b, #b4eb2b);
}
.shadow-ebc22b {
box-shadow: 0 8px 24px rgb(235 194 43 / 0.35);
}
Saffron
#ebc22b rgb(235, 194, 43) hsl(47, 83%, 55%) Saffron
#2b54eb rgb(43, 84, 235) hsl(227, 83%, 55%) Majorelle Blue
#2bebc2 rgb(43, 235, 194) hsl(167, 83%, 55%) Aquamarine
#c22beb rgb(194, 43, 235) hsl(287, 83%, 55%) Electric Purple