#f4c021 ≈ Saffron
#f4c021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 21.31% magenta, 86.48% yellow and 4.31% black. Its hue angle is 45.21°, with 90.56% saturation and 54.31% 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.41:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.35.
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.5704 |
Shades
#f4c021 mixed progressively with black.
Tints
#f4c021 mixed progressively with white.
Tones
#f4c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4c021 {
color: #f4c021;
}
.bg-f4c021 {
background-color: #f4c021;
color: #000000;
}
.border-f4c021 {
border: 2px solid #f4c021;
}
:root {
--color-primary: #f4c021;
--color-primary-rgb: 244 192 33;
--color-primary-hsl: 45 91% 54%;
}
.gradient-f4c021 {
background: linear-gradient(135deg, #f4c021, #bff421);
}
.shadow-f4c021 {
box-shadow: 0 8px 24px rgb(244 192 33 / 0.35);
}
Saffron
#f4c021 rgb(244, 192, 33) hsl(45, 91%, 54%) Saffron
#2155f4 rgb(33, 85, 244) hsl(225, 91%, 54%) Ultramarine Blue
#21f4c0 rgb(33, 244, 192) hsl(165, 91%, 54%) Aquamarine
#c021f4 rgb(192, 33, 244) hsl(285, 91%, 54%) Electric Purple