#f0c021 ≈ Saffron
#f0c021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 20% magenta, 86.25% yellow and 5.88% black. Its hue angle is 46.09°, with 87.34% saturation and 53.53% 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.27:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.16.
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.5633 |
Shades
#f0c021 mixed progressively with black.
Tints
#f0c021 mixed progressively with white.
Tones
#f0c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0c021 {
color: #f0c021;
}
.bg-f0c021 {
background-color: #f0c021;
color: #000000;
}
.border-f0c021 {
border: 2px solid #f0c021;
}
:root {
--color-primary: #f0c021;
--color-primary-rgb: 240 192 33;
--color-primary-hsl: 46 87% 54%;
}
.gradient-f0c021 {
background: linear-gradient(135deg, #f0c021, #b8f021);
}
.shadow-f0c021 {
box-shadow: 0 8px 24px rgb(240 192 33 / 0.35);
}
Saffron
#f0c021 rgb(240, 192, 33) hsl(46, 87%, 54%) Saffron
#2151f0 rgb(33, 81, 240) hsl(226, 87%, 54%) Majorelle Blue
#21f0c0 rgb(33, 240, 192) hsl(166, 87%, 54%) Aquamarine
#c021f0 rgb(192, 33, 240) hsl(286, 87%, 54%) Electric Purple