#f8d45f ≈ Naples Yellow
#f8d45f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.25% red, 83.14% green and 37.25% blue; printed in CMYK it uses 0% cyan, 14.52% magenta, 61.69% yellow and 2.75% black. Its hue angle is 45.88°, with 91.62% saturation and 67.25% 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 14.57:1 (WCAG AAA). The closest named color is Naples Yellow (#fada5e), ΔE 1.88.
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.6787 |
Shades
#f8d45f mixed progressively with black.
Tints
#f8d45f mixed progressively with white.
Tones
#f8d45f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8d45f {
color: #f8d45f;
}
.bg-f8d45f {
background-color: #f8d45f;
color: #000000;
}
.border-f8d45f {
border: 2px solid #f8d45f;
}
:root {
--color-primary: #f8d45f;
--color-primary-rgb: 248 212 95;
--color-primary-hsl: 46 92% 67%;
}
.gradient-f8d45f {
background: linear-gradient(135deg, #f8d45f, #d0f85f);
}
.shadow-f8d45f {
box-shadow: 0 8px 24px rgb(248 212 95 / 0.35);
}
Naples Yellow
#f8d45f rgb(248, 212, 95) hsl(46, 92%, 67%) Naples Yellow
#5f83f8 rgb(95, 131, 248) hsl(226, 92%, 67%) Cornflower Blue
#5ff8d4 rgb(95, 248, 212) hsl(166, 92%, 67%) Aquamarine
#d45ff8 rgb(212, 95, 248) hsl(286, 92%, 67%) Heliotrope