#f0df5e ≈ Straw
#f0df5e is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.12% red, 87.45% green and 36.86% blue; printed in CMYK it uses 0% cyan, 7.08% magenta, 60.83% yellow and 5.88% black. Its hue angle is 53.01°, with 82.95% saturation and 65.49% 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.42: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.7211 |
Shades
#f0df5e mixed progressively with black.
Tints
#f0df5e mixed progressively with white.
Tones
#f0df5e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0df5e {
color: #f0df5e;
}
.bg-f0df5e {
background-color: #f0df5e;
color: #000000;
}
.border-f0df5e {
border: 2px solid #f0df5e;
}
:root {
--color-primary: #f0df5e;
--color-primary-rgb: 240 223 94;
--color-primary-hsl: 53 83% 65%;
}
.gradient-f0df5e {
background: linear-gradient(135deg, #f0df5e, #b8f05e);
}
.shadow-f0df5e {
box-shadow: 0 8px 24px rgb(240 223 94 / 0.35);
}
Straw
#f0df5e rgb(240, 223, 94) hsl(53, 83%, 65%) Straw
#5e6ff0 rgb(94, 111, 240) hsl(233, 83%, 65%) Ultramarine Blue
#5ef0df rgb(94, 240, 223) hsl(173, 83%, 65%) Turquoise
#df5ef0 rgb(223, 94, 240) hsl(293, 83%, 65%) Heliotrope