#f0dc31 ≈ Dandelion
#f0dc31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.12% red, 86.27% green and 19.22% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 79.58% yellow and 5.88% black. Its hue angle is 53.72°, with 86.43% saturation and 56.67% 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.99:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.54.
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.6993 |
Shades
#f0dc31 mixed progressively with black.
Tints
#f0dc31 mixed progressively with white.
Tones
#f0dc31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0dc31 {
color: #f0dc31;
}
.bg-f0dc31 {
background-color: #f0dc31;
color: #000000;
}
.border-f0dc31 {
border: 2px solid #f0dc31;
}
:root {
--color-primary: #f0dc31;
--color-primary-rgb: 240 220 49;
--color-primary-hsl: 54 86% 57%;
}
.gradient-f0dc31 {
background: linear-gradient(135deg, #f0dc31, #a4f031);
}
.shadow-f0dc31 {
box-shadow: 0 8px 24px rgb(240 220 49 / 0.35);
}
Dandelion
#f0dc31 rgb(240, 220, 49) hsl(54, 86%, 57%) Dandelion
#3145f0 rgb(49, 69, 240) hsl(234, 86%, 57%) Majorelle Blue
#31f0dc rgb(49, 240, 220) hsl(174, 86%, 57%) Bright Turquoise
#dc31f0 rgb(220, 49, 240) hsl(294, 86%, 57%) Fuchsia