#f8fa2d ≈ Daffodil
#f8fa2d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 98.04% green and 17.65% blue; printed in CMYK it uses 0.8% cyan, 0% magenta, 82% yellow and 1.96% black. Its hue angle is 60.59°, with 95.35% saturation and 57.84% 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 18.7:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 1.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8852 |
Shades
#f8fa2d mixed progressively with black.
Tints
#f8fa2d mixed progressively with white.
Tones
#f8fa2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8fa2d {
color: #f8fa2d;
}
.bg-f8fa2d {
background-color: #f8fa2d;
color: #000000;
}
.border-f8fa2d {
border: 2px solid #f8fa2d;
}
:root {
--color-primary: #f8fa2d;
--color-primary-rgb: 248 250 45;
--color-primary-hsl: 61 95% 58%;
}
.gradient-f8fa2d {
background: linear-gradient(135deg, #f8fa2d, #91fa2d);
}
.shadow-f8fa2d {
box-shadow: 0 8px 24px rgb(248 250 45 / 0.35);
}
Daffodil
#f8fa2d rgb(248, 250, 45) hsl(61, 95%, 58%) Daffodil
#2f2dfa rgb(47, 45, 250) hsl(241, 95%, 58%) Han Purple
#2df8fa rgb(45, 248, 250) hsl(181, 95%, 58%) Aqua
#fa2df8 rgb(250, 45, 248) hsl(301, 95%, 58%) Fuchsia