#f0c331 ≈ Saffron
#f0c331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 18.75% magenta, 79.58% yellow and 5.88% black. Its hue angle is 45.86°, with 86.43% saturation and 56.67% 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.56:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 0.83.
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.5778 |
Shades
#f0c331 mixed progressively with black.
Tints
#f0c331 mixed progressively with white.
Tones
#f0c331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0c331 {
color: #f0c331;
}
.bg-f0c331 {
background-color: #f0c331;
color: #000000;
}
.border-f0c331 {
border: 2px solid #f0c331;
}
:root {
--color-primary: #f0c331;
--color-primary-rgb: 240 195 49;
--color-primary-hsl: 46 86% 57%;
}
.gradient-f0c331 {
background: linear-gradient(135deg, #f0c331, #bef031);
}
.shadow-f0c331 {
box-shadow: 0 8px 24px rgb(240 195 49 / 0.35);
}
Saffron
#f0c331 rgb(240, 195, 49) hsl(46, 86%, 57%) Saffron
#315ef0 rgb(49, 94, 240) hsl(226, 86%, 57%) Ultramarine Blue
#31f0c3 rgb(49, 240, 195) hsl(166, 86%, 57%) Aquamarine
#c331f0 rgb(195, 49, 240) hsl(286, 86%, 57%) Electric Purple