#f2e671 ≈ Straw
#f2e671 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 90.2% green and 44.31% blue; printed in CMYK it uses 0% cyan, 4.96% magenta, 53.31% yellow and 5.1% black. Its hue angle is 54.42°, with 83.23% saturation and 69.61% 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.33:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.19.
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.7666 |
Shades
#f2e671 mixed progressively with black.
Tints
#f2e671 mixed progressively with white.
Tones
#f2e671 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e671 {
color: #f2e671;
}
.bg-f2e671 {
background-color: #f2e671;
color: #000000;
}
.border-f2e671 {
border: 2px solid #f2e671;
}
:root {
--color-primary: #f2e671;
--color-primary-rgb: 242 230 113;
--color-primary-hsl: 54 83% 70%;
}
.gradient-f2e671 {
background: linear-gradient(135deg, #f2e671, #bef271);
}
.shadow-f2e671 {
box-shadow: 0 8px 24px rgb(242 230 113 / 0.35);
}
Straw
#f2e671 rgb(242, 230, 113) hsl(54, 83%, 70%) Straw
#717df2 rgb(113, 125, 242) hsl(234, 83%, 70%) Medium Slate Blue
#71f2e6 rgb(113, 242, 230) hsl(174, 83%, 70%) Bright Turquoise
#e671f2 rgb(230, 113, 242) hsl(294, 83%, 70%) Heliotrope