#ecd86f ≈ Straw
#ecd86f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 84.71% green and 43.53% blue; printed in CMYK it uses 0% cyan, 8.47% magenta, 52.97% yellow and 7.45% black. Its hue angle is 50.4°, with 76.69% saturation and 68.04% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.44.
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.6809 |
Shades
#ecd86f mixed progressively with black.
Tints
#ecd86f mixed progressively with white.
Tones
#ecd86f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd86f {
color: #ecd86f;
}
.bg-ecd86f {
background-color: #ecd86f;
color: #000000;
}
.border-ecd86f {
border: 2px solid #ecd86f;
}
:root {
--color-primary: #ecd86f;
--color-primary-rgb: 236 216 111;
--color-primary-hsl: 50 77% 68%;
}
.gradient-ecd86f {
background: linear-gradient(135deg, #ecd86f, #c2ec6f);
}
.shadow-ecd86f {
box-shadow: 0 8px 24px rgb(236 216 111 / 0.35);
}
Straw
#ecd86f rgb(236, 216, 111) hsl(50, 77%, 68%) Straw
#6f83ec rgb(111, 131, 236) hsl(230, 77%, 68%) Glaucous
#6fecd8 rgb(111, 236, 216) hsl(170, 77%, 68%) Turquoise
#d86fec rgb(216, 111, 236) hsl(290, 77%, 68%) Heliotrope