#f2e06a ≈ Straw
#f2e06a is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 87.84% green and 41.57% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 56.2% yellow and 5.1% black. Its hue angle is 52.06°, 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 15.65:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.98.
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.7323 |
Shades
#f2e06a mixed progressively with black.
Tints
#f2e06a mixed progressively with white.
Tones
#f2e06a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e06a {
color: #f2e06a;
}
.bg-f2e06a {
background-color: #f2e06a;
color: #000000;
}
.border-f2e06a {
border: 2px solid #f2e06a;
}
:root {
--color-primary: #f2e06a;
--color-primary-rgb: 242 224 106;
--color-primary-hsl: 52 84% 68%;
}
.gradient-f2e06a {
background: linear-gradient(135deg, #f2e06a, #c0f26a);
}
.shadow-f2e06a {
box-shadow: 0 8px 24px rgb(242 224 106 / 0.35);
}
Straw
#f2e06a rgb(242, 224, 106) hsl(52, 84%, 68%) Straw
#6a7cf2 rgb(106, 124, 242) hsl(232, 84%, 68%) Medium Slate Blue
#6af2e0 rgb(106, 242, 224) hsl(172, 84%, 68%) Turquoise Blue
#e06af2 rgb(224, 106, 242) hsl(292, 84%, 68%) Heliotrope