#f2e76b ≈ Straw
#f2e76b 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.59% green and 41.96% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 55.79% yellow and 5.1% black. Its hue angle is 55.11°, with 83.85% saturation and 68.43% 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.42:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.71.
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.7709 |
Shades
#f2e76b mixed progressively with black.
Tints
#f2e76b mixed progressively with white.
Tones
#f2e76b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e76b {
color: #f2e76b;
}
.bg-f2e76b {
background-color: #f2e76b;
color: #000000;
}
.border-f2e76b {
border: 2px solid #f2e76b;
}
:root {
--color-primary: #f2e76b;
--color-primary-rgb: 242 231 107;
--color-primary-hsl: 55 84% 68%;
}
.gradient-f2e76b {
background: linear-gradient(135deg, #f2e76b, #b9f26b);
}
.shadow-f2e76b {
box-shadow: 0 8px 24px rgb(242 231 107 / 0.35);
}
Straw
#f2e76b rgb(242, 231, 107) hsl(55, 84%, 68%) Straw
#6b76f2 rgb(107, 118, 242) hsl(235, 84%, 68%) Medium Slate Blue
#6bf2e7 rgb(107, 242, 231) hsl(175, 84%, 68%) Bright Turquoise
#e76bf2 rgb(231, 107, 242) hsl(295, 84%, 68%) Heliotrope