#f0fc0b ≈ Daffodil
#f0fc0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 98.82% green and 4.31% blue; printed in CMYK it uses 4.76% cyan, 0% magenta, 95.63% yellow and 1.18% black. Its hue angle is 62.99°, with 97.57% saturation and 51.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.63:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 2.53.
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.8817 |
Shades
#f0fc0b mixed progressively with black.
Tints
#f0fc0b mixed progressively with white.
Tones
#f0fc0b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0fc0b {
color: #f0fc0b;
}
.bg-f0fc0b {
background-color: #f0fc0b;
color: #000000;
}
.border-f0fc0b {
border: 2px solid #f0fc0b;
}
:root {
--color-primary: #f0fc0b;
--color-primary-rgb: 240 252 11;
--color-primary-hsl: 63 98% 52%;
}
.gradient-f0fc0b {
background: linear-gradient(135deg, #f0fc0b, #77fc0b);
}
.shadow-f0fc0b {
box-shadow: 0 8px 24px rgb(240 252 11 / 0.35);
}
Daffodil
#f0fc0b rgb(240, 252, 11) hsl(63, 98%, 52%) Daffodil
#170bfc rgb(23, 11, 252) hsl(243, 98%, 52%) Blue
#0bf0fc rgb(11, 240, 252) hsl(183, 98%, 52%) Electric Blue
#fc0bf0 rgb(252, 11, 240) hsl(303, 98%, 52%) Fuchsia