#f5cc4e ≈ Saffron
#f5cc4e is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 96.08% red, 80% green and 30.59% blue; printed in CMYK it uses 0% cyan, 16.73% magenta, 68.16% yellow and 3.92% black. Its hue angle is 45.27°, with 89.3% saturation and 63.33% 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 13.63:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6315 |
Shades
#f5cc4e mixed progressively with black.
Tints
#f5cc4e mixed progressively with white.
Tones
#f5cc4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5cc4e {
color: #f5cc4e;
}
.bg-f5cc4e {
background-color: #f5cc4e;
color: #000000;
}
.border-f5cc4e {
border: 2px solid #f5cc4e;
}
:root {
--color-primary: #f5cc4e;
--color-primary-rgb: 245 204 78;
--color-primary-hsl: 45 89% 63%;
}
.gradient-f5cc4e {
background: linear-gradient(135deg, #f5cc4e, #caf54e);
}
.shadow-f5cc4e {
box-shadow: 0 8px 24px rgb(245 204 78 / 0.35);
}
Saffron
#f5cc4e rgb(245, 204, 78) hsl(45, 89%, 63%) Saffron
#4e77f5 rgb(78, 119, 245) hsl(225, 89%, 63%) Brandeis Blue
#4ef5cc rgb(78, 245, 204) hsl(165, 89%, 63%) Aquamarine
#cc4ef5 rgb(204, 78, 245) hsl(285, 89%, 63%) Medium Orchid