#f2bf1f ≈ Saffron
#f2bf1f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 74.9% green and 12.16% blue; printed in CMYK it uses 0% cyan, 21.07% magenta, 87.19% yellow and 5.1% black. Its hue angle is 45.5°, with 89.03% 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.25:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.42.
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.5624 |
Shades
#f2bf1f mixed progressively with black.
Tints
#f2bf1f mixed progressively with white.
Tones
#f2bf1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2bf1f {
color: #f2bf1f;
}
.bg-f2bf1f {
background-color: #f2bf1f;
color: #000000;
}
.border-f2bf1f {
border: 2px solid #f2bf1f;
}
:root {
--color-primary: #f2bf1f;
--color-primary-rgb: 242 191 31;
--color-primary-hsl: 46 89% 54%;
}
.gradient-f2bf1f {
background: linear-gradient(135deg, #f2bf1f, #bbf21f);
}
.shadow-f2bf1f {
box-shadow: 0 8px 24px rgb(242 191 31 / 0.35);
}
Saffron
#f2bf1f rgb(242, 191, 31) hsl(46, 89%, 54%) Saffron
#1f52f2 rgb(31, 82, 242) hsl(226, 89%, 54%) Majorelle Blue
#1ff2bf rgb(31, 242, 191) hsl(166, 89%, 54%) Aquamarine
#bf1ff2 rgb(191, 31, 242) hsl(286, 89%, 54%) Electric Purple