#f2e271 ≈ Straw
#f2e271 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 88.63% green and 44.31% blue; printed in CMYK it uses 0% cyan, 6.61% magenta, 53.31% yellow and 5.1% black. Its hue angle is 52.56°, with 83.23% saturation and 69.61% 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.89:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.69.
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.7446 |
Shades
#f2e271 mixed progressively with black.
Tints
#f2e271 mixed progressively with white.
Tones
#f2e271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e271 {
color: #f2e271;
}
.bg-f2e271 {
background-color: #f2e271;
color: #000000;
}
.border-f2e271 {
border: 2px solid #f2e271;
}
:root {
--color-primary: #f2e271;
--color-primary-rgb: 242 226 113;
--color-primary-hsl: 53 83% 70%;
}
.gradient-f2e271 {
background: linear-gradient(135deg, #f2e271, #c2f271);
}
.shadow-f2e271 {
box-shadow: 0 8px 24px rgb(242 226 113 / 0.35);
}
Straw
#f2e271 rgb(242, 226, 113) hsl(53, 83%, 70%) Straw
#7181f2 rgb(113, 129, 242) hsl(233, 83%, 70%) Glaucous
#71f2e2 rgb(113, 242, 226) hsl(173, 83%, 70%) Turquoise Blue
#e271f2 rgb(226, 113, 242) hsl(293, 83%, 70%) Heliotrope