#e2df7b ≈ Straw
#e2df7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 88.63% red, 87.45% green and 48.24% blue; printed in CMYK it uses 0% cyan, 1.33% magenta, 45.58% yellow and 11.37% black. Its hue angle is 58.25°, with 63.98% 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 brand accents. Black text on this color reaches a contrast ratio of 15.07:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7037 |
Shades
#e2df7b mixed progressively with black.
Tints
#e2df7b mixed progressively with white.
Tones
#e2df7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2df7b {
color: #e2df7b;
}
.bg-e2df7b {
background-color: #e2df7b;
color: #000000;
}
.border-e2df7b {
border: 2px solid #e2df7b;
}
:root {
--color-primary: #e2df7b;
--color-primary-rgb: 226 223 123;
--color-primary-hsl: 58 64% 68%;
}
.gradient-e2df7b {
background: linear-gradient(135deg, #e2df7b, #b2e27b);
}
.shadow-e2df7b {
box-shadow: 0 8px 24px rgb(226 223 123 / 0.35);
}
Straw
#e2df7b rgb(226, 223, 123) hsl(58, 64%, 68%) Straw
#7b7ee2 rgb(123, 126, 226) hsl(238, 64%, 68%) Medium Slate Blue
#7be2df rgb(123, 226, 223) hsl(178, 64%, 68%) Medium Turquoise
#df7be2 rgb(223, 123, 226) hsl(298, 64%, 68%) Orchid