#f2e06f ≈ Straw
#f2e06f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 87.84% green and 43.53% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 54.13% yellow and 5.1% black. Its hue angle is 51.76°, with 83.44% saturation and 69.22% 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.67:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7334 |
Shades
#f2e06f mixed progressively with black.
Tints
#f2e06f mixed progressively with white.
Tones
#f2e06f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e06f {
color: #f2e06f;
}
.bg-f2e06f {
background-color: #f2e06f;
color: #000000;
}
.border-f2e06f {
border: 2px solid #f2e06f;
}
:root {
--color-primary: #f2e06f;
--color-primary-rgb: 242 224 111;
--color-primary-hsl: 52 83% 69%;
}
.gradient-f2e06f {
background: linear-gradient(135deg, #f2e06f, #c2f26f);
}
.shadow-f2e06f {
box-shadow: 0 8px 24px rgb(242 224 111 / 0.35);
}
Straw
#f2e06f rgb(242, 224, 111) hsl(52, 83%, 69%) Straw
#6f81f2 rgb(111, 129, 242) hsl(232, 83%, 69%) Glaucous
#6ff2e0 rgb(111, 242, 224) hsl(172, 83%, 69%) Turquoise Blue
#e06ff2 rgb(224, 111, 242) hsl(292, 83%, 69%) Heliotrope