#f2e062 ≈ Straw
#f2e062 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 38.43% blue; printed in CMYK it uses 0% cyan, 7.44% magenta, 59.5% yellow and 5.1% black. Its hue angle is 52.5°, with 84.71% saturation and 66.67% 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.61:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.53.
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.7307 |
Shades
#f2e062 mixed progressively with black.
Tints
#f2e062 mixed progressively with white.
Tones
#f2e062 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e062 {
color: #f2e062;
}
.bg-f2e062 {
background-color: #f2e062;
color: #000000;
}
.border-f2e062 {
border: 2px solid #f2e062;
}
:root {
--color-primary: #f2e062;
--color-primary-rgb: 242 224 98;
--color-primary-hsl: 53 85% 67%;
}
.gradient-f2e062 {
background: linear-gradient(135deg, #f2e062, #bcf262);
}
.shadow-f2e062 {
box-shadow: 0 8px 24px rgb(242 224 98 / 0.35);
}
Straw
#f2e062 rgb(242, 224, 98) hsl(53, 85%, 67%) Straw
#6274f2 rgb(98, 116, 242) hsl(233, 85%, 67%) Ultramarine Blue
#62f2e0 rgb(98, 242, 224) hsl(173, 85%, 67%) Turquoise Blue
#e062f2 rgb(224, 98, 242) hsl(293, 85%, 67%) Heliotrope