#faf940 ≈ Daffodil
#faf940 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 98.04% red, 97.65% green and 25.1% blue; printed in CMYK it uses 0% cyan, 0.4% magenta, 74.4% yellow and 1.96% black. Its hue angle is 59.68°, with 94.9% saturation and 61.57% 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.69:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 1.64.
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.8845 |
Shades
#faf940 mixed progressively with black.
Tints
#faf940 mixed progressively with white.
Tones
#faf940 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-faf940 {
color: #faf940;
}
.bg-faf940 {
background-color: #faf940;
color: #000000;
}
.border-faf940 {
border: 2px solid #faf940;
}
:root {
--color-primary: #faf940;
--color-primary-rgb: 250 249 64;
--color-primary-hsl: 60 95% 62%;
}
.gradient-faf940 {
background: linear-gradient(135deg, #faf940, #9efa40);
}
.shadow-faf940 {
box-shadow: 0 8px 24px rgb(250 249 64 / 0.35);
}
Daffodil
#faf940 rgb(250, 249, 64) hsl(60, 95%, 62%) Daffodil
#4041fa rgb(64, 65, 250) hsl(240, 95%, 62%) Majorelle Blue
#40faf9 rgb(64, 250, 249) hsl(180, 95%, 62%) Aqua
#f940fa rgb(249, 64, 250) hsl(300, 95%, 62%) Fuchsia