#e7dc5f ≈ Straw
#e7dc5f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 90.59% red, 86.27% green and 37.25% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 58.87% yellow and 9.41% black. Its hue angle is 55.15°, with 73.91% saturation and 63.92% 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 14.8:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.4.
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.69 |
Shades
#e7dc5f mixed progressively with black.
Tints
#e7dc5f mixed progressively with white.
Tones
#e7dc5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e7dc5f {
color: #e7dc5f;
}
.bg-e7dc5f {
background-color: #e7dc5f;
color: #000000;
}
.border-e7dc5f {
border: 2px solid #e7dc5f;
}
:root {
--color-primary: #e7dc5f;
--color-primary-rgb: 231 220 95;
--color-primary-hsl: 55 74% 64%;
}
.gradient-e7dc5f {
background: linear-gradient(135deg, #e7dc5f, #aee75f);
}
.shadow-e7dc5f {
box-shadow: 0 8px 24px rgb(231 220 95 / 0.35);
}
Straw
#e7dc5f rgb(231, 220, 95) hsl(55, 74%, 64%) Straw
#5f6ae7 rgb(95, 106, 231) hsl(235, 74%, 64%) Ultramarine Blue
#5fe7dc rgb(95, 231, 220) hsl(175, 74%, 64%) Turquoise
#dc5fe7 rgb(220, 95, 231) hsl(295, 74%, 64%) Orchid