#f0db2f ≈ Dandelion
#f0db2f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 85.88% green and 18.43% blue; printed in CMYK it uses 0% cyan, 8.75% magenta, 80.42% yellow and 5.88% black. Its hue angle is 53.47°, with 86.55% saturation and 56.27% 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 14.88:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6939 |
Shades
#f0db2f mixed progressively with black.
Tints
#f0db2f mixed progressively with white.
Tones
#f0db2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0db2f {
color: #f0db2f;
}
.bg-f0db2f {
background-color: #f0db2f;
color: #000000;
}
.border-f0db2f {
border: 2px solid #f0db2f;
}
:root {
--color-primary: #f0db2f;
--color-primary-rgb: 240 219 47;
--color-primary-hsl: 53 87% 56%;
}
.gradient-f0db2f {
background: linear-gradient(135deg, #f0db2f, #a4f02f);
}
.shadow-f0db2f {
box-shadow: 0 8px 24px rgb(240 219 47 / 0.35);
}
Dandelion
#f0db2f rgb(240, 219, 47) hsl(53, 87%, 56%) Dandelion
#2f44f0 rgb(47, 68, 240) hsl(233, 87%, 56%) Majorelle Blue
#2ff0db rgb(47, 240, 219) hsl(173, 87%, 56%) Turquoise Blue
#db2ff0 rgb(219, 47, 240) hsl(293, 87%, 56%) Fuchsia