#f2e042 ≈ Dandelion
#f2e042 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 94.9% red, 87.84% green and 25.88% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 72.73% yellow and 5.1% black. Its hue angle is 53.86°, with 87.13% saturation and 60.39% 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 15.52:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.4.
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.7258 |
Shades
#f2e042 mixed progressively with black.
Tints
#f2e042 mixed progressively with white.
Tones
#f2e042 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e042 {
color: #f2e042;
}
.bg-f2e042 {
background-color: #f2e042;
color: #000000;
}
.border-f2e042 {
border: 2px solid #f2e042;
}
:root {
--color-primary: #f2e042;
--color-primary-rgb: 242 224 66;
--color-primary-hsl: 54 87% 60%;
}
.gradient-f2e042 {
background: linear-gradient(135deg, #f2e042, #acf242);
}
.shadow-f2e042 {
box-shadow: 0 8px 24px rgb(242 224 66 / 0.35);
}
Dandelion
#f2e042 rgb(242, 224, 66) hsl(54, 87%, 60%) Dandelion
#4254f2 rgb(66, 84, 242) hsl(234, 87%, 60%) Majorelle Blue
#42f2e0 rgb(66, 242, 224) hsl(174, 87%, 60%) Turquoise Blue
#e042f2 rgb(224, 66, 242) hsl(294, 87%, 60%) Fuchsia