#f2e466 ≈ Straw
#f2e466 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 89.41% green and 40% blue; printed in CMYK it uses 0% cyan, 5.79% magenta, 57.85% yellow and 5.1% black. Its hue angle is 54°, with 84.34% saturation and 67.45% 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.06:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.55.
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.7532 |
Shades
#f2e466 mixed progressively with black.
Tints
#f2e466 mixed progressively with white.
Tones
#f2e466 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e466 {
color: #f2e466;
}
.bg-f2e466 {
background-color: #f2e466;
color: #000000;
}
.border-f2e466 {
border: 2px solid #f2e466;
}
:root {
--color-primary: #f2e466;
--color-primary-rgb: 242 228 102;
--color-primary-hsl: 54 84% 67%;
}
.gradient-f2e466 {
background: linear-gradient(135deg, #f2e466, #baf266);
}
.shadow-f2e466 {
box-shadow: 0 8px 24px rgb(242 228 102 / 0.35);
}
Straw
#f2e466 rgb(242, 228, 102) hsl(54, 84%, 67%) Straw
#6674f2 rgb(102, 116, 242) hsl(234, 84%, 67%) Medium Slate Blue
#66f2e4 rgb(102, 242, 228) hsl(174, 84%, 67%) Bright Turquoise
#e466f2 rgb(228, 102, 242) hsl(294, 84%, 67%) Heliotrope