#ecdf5b ≈ Straw
#ecdf5b is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 87.45% green and 35.69% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 61.44% yellow and 7.45% black. Its hue angle is 54.62°, with 79.23% saturation and 64.12% 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.27:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.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.7136 |
Shades
#ecdf5b mixed progressively with black.
Tints
#ecdf5b mixed progressively with white.
Tones
#ecdf5b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdf5b {
color: #ecdf5b;
}
.bg-ecdf5b {
background-color: #ecdf5b;
color: #000000;
}
.border-ecdf5b {
border: 2px solid #ecdf5b;
}
:root {
--color-primary: #ecdf5b;
--color-primary-rgb: 236 223 91;
--color-primary-hsl: 55 79% 64%;
}
.gradient-ecdf5b {
background: linear-gradient(135deg, #ecdf5b, #b1ec5b);
}
.shadow-ecdf5b {
box-shadow: 0 8px 24px rgb(236 223 91 / 0.35);
}
Straw
#ecdf5b rgb(236, 223, 91) hsl(55, 79%, 64%) Straw
#5b68ec rgb(91, 104, 236) hsl(235, 79%, 64%) Ultramarine Blue
#5becdf rgb(91, 236, 223) hsl(175, 79%, 64%) Bright Turquoise
#df5bec rgb(223, 91, 236) hsl(295, 79%, 64%) Heliotrope