#e2d158 ≈ Straw
#e2d158 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 81.96% green and 34.51% blue; printed in CMYK it uses 0% cyan, 7.52% magenta, 61.06% yellow and 11.37% black. Its hue angle is 52.61°, with 70.41% saturation and 61.57% 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 13.49:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.08.
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.6247 |
Shades
#e2d158 mixed progressively with black.
Tints
#e2d158 mixed progressively with white.
Tones
#e2d158 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2d158 {
color: #e2d158;
}
.bg-e2d158 {
background-color: #e2d158;
color: #000000;
}
.border-e2d158 {
border: 2px solid #e2d158;
}
:root {
--color-primary: #e2d158;
--color-primary-rgb: 226 209 88;
--color-primary-hsl: 53 70% 62%;
}
.gradient-e2d158 {
background: linear-gradient(135deg, #e2d158, #aee258);
}
.shadow-e2d158 {
box-shadow: 0 8px 24px rgb(226 209 88 / 0.35);
}
Straw
#e2d158 rgb(226, 209, 88) hsl(53, 70%, 62%) Straw
#5869e2 rgb(88, 105, 226) hsl(233, 70%, 62%) Ultramarine Blue
#58e2d1 rgb(88, 226, 209) hsl(173, 70%, 62%) Turquoise
#d158e2 rgb(209, 88, 226) hsl(293, 70%, 62%) Medium Orchid