#f2e46a ≈ Straw
#f2e46a 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.41% green and 41.57% blue; printed in CMYK it uses 0% cyan, 5.79% magenta, 56.2% yellow and 5.1% black. Its hue angle is 53.82°, with 83.95% saturation and 68.24% 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.08:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.27.
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.754 |
Shades
#f2e46a mixed progressively with black.
Tints
#f2e46a mixed progressively with white.
Tones
#f2e46a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e46a {
color: #f2e46a;
}
.bg-f2e46a {
background-color: #f2e46a;
color: #000000;
}
.border-f2e46a {
border: 2px solid #f2e46a;
}
:root {
--color-primary: #f2e46a;
--color-primary-rgb: 242 228 106;
--color-primary-hsl: 54 84% 68%;
}
.gradient-f2e46a {
background: linear-gradient(135deg, #f2e46a, #bcf26a);
}
.shadow-f2e46a {
box-shadow: 0 8px 24px rgb(242 228 106 / 0.35);
}
Straw
#f2e46a rgb(242, 228, 106) hsl(54, 84%, 68%) Straw
#6a78f2 rgb(106, 120, 242) hsl(234, 84%, 68%) Medium Slate Blue
#6af2e4 rgb(106, 242, 228) hsl(174, 84%, 68%) Bright Turquoise
#e46af2 rgb(228, 106, 242) hsl(294, 84%, 68%) Heliotrope