#f2e476 ≈ Straw
#f2e476 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 89.41% green and 46.27% blue; printed in CMYK it uses 0% cyan, 5.79% magenta, 51.24% yellow and 5.1% black. Its hue angle is 53.23°, with 82.67% saturation and 70.59% 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 16.13: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.7567 |
Shades
#f2e476 mixed progressively with black.
Tints
#f2e476 mixed progressively with white.
Tones
#f2e476 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e476 {
color: #f2e476;
}
.bg-f2e476 {
background-color: #f2e476;
color: #000000;
}
.border-f2e476 {
border: 2px solid #f2e476;
}
:root {
--color-primary: #f2e476;
--color-primary-rgb: 242 228 118;
--color-primary-hsl: 53 83% 71%;
}
.gradient-f2e476 {
background: linear-gradient(135deg, #f2e476, #c2f276);
}
.shadow-f2e476 {
box-shadow: 0 8px 24px rgb(242 228 118 / 0.35);
}
Straw
#f2e476 rgb(242, 228, 118) hsl(53, 83%, 71%) Straw
#7684f2 rgb(118, 132, 242) hsl(233, 83%, 71%) Cornflower Blue
#76f2e4 rgb(118, 242, 228) hsl(173, 83%, 71%) Bright Turquoise
#e476f2 rgb(228, 118, 242) hsl(293, 83%, 71%) Heliotrope