#f2e072 ≈ Straw
#f2e072 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 44.71% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 52.89% yellow and 5.1% black. Its hue angle is 51.56°, with 83.12% saturation and 69.8% 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.68:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.66.
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.734 |
Shades
#f2e072 mixed progressively with black.
Tints
#f2e072 mixed progressively with white.
Tones
#f2e072 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e072 {
color: #f2e072;
}
.bg-f2e072 {
background-color: #f2e072;
color: #000000;
}
.border-f2e072 {
border: 2px solid #f2e072;
}
:root {
--color-primary: #f2e072;
--color-primary-rgb: 242 224 114;
--color-primary-hsl: 52 83% 70%;
}
.gradient-f2e072 {
background: linear-gradient(135deg, #f2e072, #c4f272);
}
.shadow-f2e072 {
box-shadow: 0 8px 24px rgb(242 224 114 / 0.35);
}
Straw
#f2e072 rgb(242, 224, 114) hsl(52, 83%, 70%) Straw
#7284f2 rgb(114, 132, 242) hsl(232, 83%, 70%) Cornflower Blue
#72f2e0 rgb(114, 242, 224) hsl(172, 83%, 70%) Turquoise
#e072f2 rgb(224, 114, 242) hsl(292, 83%, 70%) Heliotrope