#f0cc8a ≈ Sunset
#f0cc8a is a color from the orange family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 80% green and 54.12% blue; printed in CMYK it uses 0% cyan, 15% magenta, 42.5% yellow and 5.88% black. Its hue angle is 38.82°, with 77.27% saturation and 74.12% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons, food and restaurant brands and brand accents. Black text on this color reaches a contrast ratio of 13.71:1 (WCAG AAA). The closest named color is Sunset (#fad6a5), ΔE 4.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6355 |
Shades
#f0cc8a mixed progressively with black.
Tints
#f0cc8a mixed progressively with white.
Tones
#f0cc8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0cc8a {
color: #f0cc8a;
}
.bg-f0cc8a {
background-color: #f0cc8a;
color: #000000;
}
.border-f0cc8a {
border: 2px solid #f0cc8a;
}
:root {
--color-primary: #f0cc8a;
--color-primary-rgb: 240 204 138;
--color-primary-hsl: 39 77% 74%;
}
.gradient-f0cc8a {
background: linear-gradient(135deg, #f0cc8a, #e1f08a);
}
.shadow-f0cc8a {
box-shadow: 0 8px 24px rgb(240 204 138 / 0.35);
}
Sunset
#f0cc8a rgb(240, 204, 138) hsl(39, 77%, 74%) Sunset
#8aaef0 rgb(138, 174, 240) hsl(219, 77%, 74%) Iceberg
#8af0cc rgb(138, 240, 204) hsl(159, 77%, 74%) Aquamarine
#cc8af0 rgb(204, 138, 240) hsl(279, 77%, 74%) Floral Lavender