#f2c331 ≈ Saffron
#f2c331 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 19.42% magenta, 79.75% yellow and 5.1% black. Its hue angle is 45.39°, with 88.13% saturation and 57.06% 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.63:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 0.39.
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.5813 |
Shades
#f2c331 mixed progressively with black.
Tints
#f2c331 mixed progressively with white.
Tones
#f2c331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2c331 {
color: #f2c331;
}
.bg-f2c331 {
background-color: #f2c331;
color: #000000;
}
.border-f2c331 {
border: 2px solid #f2c331;
}
:root {
--color-primary: #f2c331;
--color-primary-rgb: 242 195 49;
--color-primary-hsl: 45 88% 57%;
}
.gradient-f2c331 {
background: linear-gradient(135deg, #f2c331, #c0f231);
}
.shadow-f2c331 {
box-shadow: 0 8px 24px rgb(242 195 49 / 0.35);
}
Saffron
#f2c331 rgb(242, 195, 49) hsl(45, 88%, 57%) Saffron
#3160f2 rgb(49, 96, 242) hsl(225, 88%, 57%) Ultramarine Blue
#31f2c3 rgb(49, 242, 195) hsl(165, 88%, 57%) Aquamarine
#c331f2 rgb(195, 49, 242) hsl(285, 88%, 57%) Electric Purple