#f2e56f ≈ Straw
#f2e56f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 89.8% green and 43.53% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 54.13% yellow and 5.1% black. Its hue angle is 54.05°, 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 16.21:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.12.
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.7606 |
Shades
#f2e56f mixed progressively with black.
Tints
#f2e56f mixed progressively with white.
Tones
#f2e56f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e56f {
color: #f2e56f;
}
.bg-f2e56f {
background-color: #f2e56f;
color: #000000;
}
.border-f2e56f {
border: 2px solid #f2e56f;
}
:root {
--color-primary: #f2e56f;
--color-primary-rgb: 242 229 111;
--color-primary-hsl: 54 83% 69%;
}
.gradient-f2e56f {
background: linear-gradient(135deg, #f2e56f, #bef26f);
}
.shadow-f2e56f {
box-shadow: 0 8px 24px rgb(242 229 111 / 0.35);
}
Straw
#f2e56f rgb(242, 229, 111) hsl(54, 83%, 69%) Straw
#6f7cf2 rgb(111, 124, 242) hsl(234, 83%, 69%) Medium Slate Blue
#6ff2e5 rgb(111, 242, 229) hsl(174, 83%, 69%) Bright Turquoise
#e56ff2 rgb(229, 111, 242) hsl(294, 83%, 69%) Heliotrope