#f0bc2a ≈ Saffron
#f0bc2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 73.73% green and 16.47% blue; printed in CMYK it uses 0% cyan, 21.67% magenta, 82.5% yellow and 5.88% black. Its hue angle is 44.24°, with 86.84% saturation and 55.29% 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.93:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.17.
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.5466 |
Shades
#f0bc2a mixed progressively with black.
Tints
#f0bc2a mixed progressively with white.
Tones
#f0bc2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0bc2a {
color: #f0bc2a;
}
.bg-f0bc2a {
background-color: #f0bc2a;
color: #000000;
}
.border-f0bc2a {
border: 2px solid #f0bc2a;
}
:root {
--color-primary: #f0bc2a;
--color-primary-rgb: 240 188 42;
--color-primary-hsl: 44 87% 55%;
}
.gradient-f0bc2a {
background: linear-gradient(135deg, #f0bc2a, #c1f02a);
}
.shadow-f0bc2a {
box-shadow: 0 8px 24px rgb(240 188 42 / 0.35);
}
Saffron
#f0bc2a rgb(240, 188, 42) hsl(44, 87%, 55%) Saffron
#2a5ef0 rgb(42, 94, 240) hsl(224, 87%, 55%) Ultramarine Blue
#2af0bc rgb(42, 240, 188) hsl(164, 87%, 55%) Aquamarine
#bc2af0 rgb(188, 42, 240) hsl(284, 87%, 55%) Electric Purple