#ecdb5f ≈ Straw
#ecdb5f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 85.88% green and 37.25% blue; printed in CMYK it uses 0% cyan, 7.2% magenta, 59.75% yellow and 7.45% black. Its hue angle is 52.77°, with 78.77% saturation and 64.9% 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.86:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.83.
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.6932 |
Shades
#ecdb5f mixed progressively with black.
Tints
#ecdb5f mixed progressively with white.
Tones
#ecdb5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdb5f {
color: #ecdb5f;
}
.bg-ecdb5f {
background-color: #ecdb5f;
color: #000000;
}
.border-ecdb5f {
border: 2px solid #ecdb5f;
}
:root {
--color-primary: #ecdb5f;
--color-primary-rgb: 236 219 95;
--color-primary-hsl: 53 79% 65%;
}
.gradient-ecdb5f {
background: linear-gradient(135deg, #ecdb5f, #b6ec5f);
}
.shadow-ecdb5f {
box-shadow: 0 8px 24px rgb(236 219 95 / 0.35);
}
Straw
#ecdb5f rgb(236, 219, 95) hsl(53, 79%, 65%) Straw
#5f70ec rgb(95, 112, 236) hsl(233, 79%, 65%) Ultramarine Blue
#5fecdb rgb(95, 236, 219) hsl(173, 79%, 65%) Turquoise
#db5fec rgb(219, 95, 236) hsl(293, 79%, 65%) Heliotrope