#f4e870 ≈ Straw
#f4e870 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 95.69% red, 90.98% green and 43.92% blue; printed in CMYK it uses 0% cyan, 4.92% magenta, 54.1% yellow and 4.31% black. Its hue angle is 54.55°, with 85.71% saturation and 69.8% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.72.
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.7812 |
Shades
#f4e870 mixed progressively with black.
Tints
#f4e870 mixed progressively with white.
Tones
#f4e870 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4e870 {
color: #f4e870;
}
.bg-f4e870 {
background-color: #f4e870;
color: #000000;
}
.border-f4e870 {
border: 2px solid #f4e870;
}
:root {
--color-primary: #f4e870;
--color-primary-rgb: 244 232 112;
--color-primary-hsl: 55 86% 70%;
}
.gradient-f4e870 {
background: linear-gradient(135deg, #f4e870, #bef470);
}
.shadow-f4e870 {
box-shadow: 0 8px 24px rgb(244 232 112 / 0.35);
}
Straw
#f4e870 rgb(244, 232, 112) hsl(55, 86%, 70%) Straw
#707cf4 rgb(112, 124, 244) hsl(235, 86%, 70%) Medium Slate Blue
#70f4e8 rgb(112, 244, 232) hsl(175, 86%, 70%) Turquoise Blue
#e870f4 rgb(232, 112, 244) hsl(295, 86%, 70%) Heliotrope