#f2e270 ≈ Straw
#f2e270 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 43.92% blue; printed in CMYK it uses 0% cyan, 6.61% magenta, 53.72% yellow and 5.1% black. Its hue angle is 52.62°, with 83.33% saturation and 69.41% 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.73.
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.7444 |
Shades
#f2e270 mixed progressively with black.
Tints
#f2e270 mixed progressively with white.
Tones
#f2e270 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e270 {
color: #f2e270;
}
.bg-f2e270 {
background-color: #f2e270;
color: #000000;
}
.border-f2e270 {
border: 2px solid #f2e270;
}
:root {
--color-primary: #f2e270;
--color-primary-rgb: 242 226 112;
--color-primary-hsl: 53 83% 69%;
}
.gradient-f2e270 {
background: linear-gradient(135deg, #f2e270, #c1f270);
}
.shadow-f2e270 {
box-shadow: 0 8px 24px rgb(242 226 112 / 0.35);
}
Straw
#f2e270 rgb(242, 226, 112) hsl(53, 83%, 69%) Straw
#7080f2 rgb(112, 128, 242) hsl(233, 83%, 69%) Glaucous
#70f2e2 rgb(112, 242, 226) hsl(173, 83%, 69%) Turquoise Blue
#e270f2 rgb(226, 112, 242) hsl(293, 83%, 69%) Heliotrope