#f0e162 ≈ Straw
#f0e162 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.12% red, 88.24% green and 38.43% blue; printed in CMYK it uses 0% cyan, 6.25% magenta, 59.17% yellow and 5.88% black. Its hue angle is 53.66°, with 82.56% saturation and 66.27% 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 3.33.
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.7326 |
Shades
#f0e162 mixed progressively with black.
Tints
#f0e162 mixed progressively with white.
Tones
#f0e162 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0e162 {
color: #f0e162;
}
.bg-f0e162 {
background-color: #f0e162;
color: #000000;
}
.border-f0e162 {
border: 2px solid #f0e162;
}
:root {
--color-primary: #f0e162;
--color-primary-rgb: 240 225 98;
--color-primary-hsl: 54 83% 66%;
}
.gradient-f0e162 {
background: linear-gradient(135deg, #f0e162, #b8f062);
}
.shadow-f0e162 {
box-shadow: 0 8px 24px rgb(240 225 98 / 0.35);
}
Straw
#f0e162 rgb(240, 225, 98) hsl(54, 83%, 66%) Straw
#6271f0 rgb(98, 113, 240) hsl(234, 83%, 66%) Ultramarine Blue
#62f0e1 rgb(98, 240, 225) hsl(174, 83%, 66%) Bright Turquoise
#e162f0 rgb(225, 98, 240) hsl(294, 83%, 66%) Heliotrope