#ecdc72 ≈ Straw
#ecdc72 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 86.27% green and 44.71% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 51.69% yellow and 7.45% black. Its hue angle is 52.13°, with 76.25% saturation and 68.63% 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.05:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.6.
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.7023 |
Shades
#ecdc72 mixed progressively with black.
Tints
#ecdc72 mixed progressively with white.
Tones
#ecdc72 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdc72 {
color: #ecdc72;
}
.bg-ecdc72 {
background-color: #ecdc72;
color: #000000;
}
.border-ecdc72 {
border: 2px solid #ecdc72;
}
:root {
--color-primary: #ecdc72;
--color-primary-rgb: 236 220 114;
--color-primary-hsl: 52 76% 69%;
}
.gradient-ecdc72 {
background: linear-gradient(135deg, #ecdc72, #bfec72);
}
.shadow-ecdc72 {
box-shadow: 0 8px 24px rgb(236 220 114 / 0.35);
}
Straw
#ecdc72 rgb(236, 220, 114) hsl(52, 76%, 69%) Straw
#7282ec rgb(114, 130, 236) hsl(232, 76%, 69%) Glaucous
#72ecdc rgb(114, 236, 220) hsl(172, 76%, 69%) Turquoise
#dc72ec rgb(220, 114, 236) hsl(292, 76%, 69%) Heliotrope