#f0df5f ≈ Straw
#f0df5f 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 37.25% blue; printed in CMYK it uses 0% cyan, 7.08% magenta, 60.42% yellow and 5.88% black. Its hue angle is 52.97°, with 82.86% saturation and 65.69% 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.43:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.44.
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.7213 |
Shades
#f0df5f mixed progressively with black.
Tints
#f0df5f mixed progressively with white.
Tones
#f0df5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0df5f {
color: #f0df5f;
}
.bg-f0df5f {
background-color: #f0df5f;
color: #000000;
}
.border-f0df5f {
border: 2px solid #f0df5f;
}
:root {
--color-primary: #f0df5f;
--color-primary-rgb: 240 223 95;
--color-primary-hsl: 53 83% 66%;
}
.gradient-f0df5f {
background: linear-gradient(135deg, #f0df5f, #b8f05f);
}
.shadow-f0df5f {
box-shadow: 0 8px 24px rgb(240 223 95 / 0.35);
}
Straw
#f0df5f rgb(240, 223, 95) hsl(53, 83%, 66%) Straw
#5f70f0 rgb(95, 112, 240) hsl(233, 83%, 66%) Ultramarine Blue
#5ff0df rgb(95, 240, 223) hsl(173, 83%, 66%) Turquoise
#df5ff0 rgb(223, 95, 240) hsl(293, 83%, 66%) Heliotrope