#fbf840 ≈ Daffodil
#fbf840 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 98.43% red, 97.25% green and 25.1% blue; printed in CMYK it uses 0% cyan, 1.2% magenta, 74.5% yellow and 1.57% black. Its hue angle is 59.04°, with 95.9% saturation and 61.76% 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.6:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 1.81.
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.8801 |
Shades
#fbf840 mixed progressively with black.
Tints
#fbf840 mixed progressively with white.
Tones
#fbf840 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf840 {
color: #fbf840;
}
.bg-fbf840 {
background-color: #fbf840;
color: #000000;
}
.border-fbf840 {
border: 2px solid #fbf840;
}
:root {
--color-primary: #fbf840;
--color-primary-rgb: 251 248 64;
--color-primary-hsl: 59 96% 62%;
}
.gradient-fbf840 {
background: linear-gradient(135deg, #fbf840, #a0fb40);
}
.shadow-fbf840 {
box-shadow: 0 8px 24px rgb(251 248 64 / 0.35);
}
Daffodil
#fbf840 rgb(251, 248, 64) hsl(59, 96%, 62%) Daffodil
#4043fb rgb(64, 67, 251) hsl(239, 96%, 62%) Majorelle Blue
#40fbf8 rgb(64, 251, 248) hsl(179, 96%, 62%) Aqua
#f840fb rgb(248, 64, 251) hsl(299, 96%, 62%) Fuchsia