#f4fa0c ≈ Daffodil
#f4fa0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 98.04% green and 4.71% blue; printed in CMYK it uses 2.4% cyan, 0% magenta, 95.2% yellow and 1.96% black. Its hue angle is 61.51°, with 95.97% saturation and 51.37% 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.53:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 1.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8763 |
Shades
#f4fa0c mixed progressively with black.
Tints
#f4fa0c mixed progressively with white.
Tones
#f4fa0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4fa0c {
color: #f4fa0c;
}
.bg-f4fa0c {
background-color: #f4fa0c;
color: #000000;
}
.border-f4fa0c {
border: 2px solid #f4fa0c;
}
:root {
--color-primary: #f4fa0c;
--color-primary-rgb: 244 250 12;
--color-primary-hsl: 62 96% 51%;
}
.gradient-f4fa0c {
background: linear-gradient(135deg, #f4fa0c, #7dfa0c);
}
.shadow-f4fa0c {
box-shadow: 0 8px 24px rgb(244 250 12 / 0.35);
}
Daffodil
#f4fa0c rgb(244, 250, 12) hsl(62, 96%, 51%) Daffodil
#120cfa rgb(18, 12, 250) hsl(242, 96%, 51%) Blue
#0cf4fa rgb(12, 244, 250) hsl(182, 96%, 51%) Aqua
#fa0cf4 rgb(250, 12, 244) hsl(302, 96%, 51%) Fuchsia