#f5e970 ≈ Straw
#f5e970 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 96.08% red, 91.37% green and 43.92% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 54.29% yellow and 3.92% black. Its hue angle is 54.59°, with 86.93% saturation and 70% 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 16.77:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7886 |
Shades
#f5e970 mixed progressively with black.
Tints
#f5e970 mixed progressively with white.
Tones
#f5e970 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5e970 {
color: #f5e970;
}
.bg-f5e970 {
background-color: #f5e970;
color: #000000;
}
.border-f5e970 {
border: 2px solid #f5e970;
}
:root {
--color-primary: #f5e970;
--color-primary-rgb: 245 233 112;
--color-primary-hsl: 55 87% 70%;
}
.gradient-f5e970 {
background: linear-gradient(135deg, #f5e970, #bef570);
}
.shadow-f5e970 {
box-shadow: 0 8px 24px rgb(245 233 112 / 0.35);
}
Straw
#f5e970 rgb(245, 233, 112) hsl(55, 87%, 70%) Straw
#707cf5 rgb(112, 124, 245) hsl(235, 87%, 70%) Medium Slate Blue
#70f5e9 rgb(112, 245, 233) hsl(175, 87%, 70%) Turquoise Blue
#e970f5 rgb(233, 112, 245) hsl(295, 87%, 70%) Heliotrope