#ecdc0c ≈ Dandelion
#ecdc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 86.27% green and 4.71% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 94.92% yellow and 7.45% black. Its hue angle is 55.71°, with 90.32% saturation and 48.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 14.81:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.57.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6905 |
Shades
#ecdc0c mixed progressively with black.
Tints
#ecdc0c mixed progressively with white.
Tones
#ecdc0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdc0c {
color: #ecdc0c;
}
.bg-ecdc0c {
background-color: #ecdc0c;
color: #000000;
}
.border-ecdc0c {
border: 2px solid #ecdc0c;
}
:root {
--color-primary: #ecdc0c;
--color-primary-rgb: 236 220 12;
--color-primary-hsl: 56 90% 49%;
}
.gradient-ecdc0c {
background: linear-gradient(135deg, #ecdc0c, #8cec0c);
}
.shadow-ecdc0c {
box-shadow: 0 8px 24px rgb(236 220 12 / 0.35);
}
Dandelion
#ecdc0c rgb(236, 220, 12) hsl(56, 90%, 49%) Dandelion
#0c1cec rgb(12, 28, 236) hsl(236, 90%, 49%) Blue
#0cecdc rgb(12, 236, 220) hsl(176, 90%, 49%) Bright Turquoise
#dc0cec rgb(220, 12, 236) hsl(296, 90%, 49%) Electric Purple