#ecdc2a ≈ Dandelion
#ecdc2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 82.2% yellow and 7.45% black. Its hue angle is 55.05°, with 83.62% saturation and 54.51% 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.84:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6919 |
Shades
#ecdc2a mixed progressively with black.
Tints
#ecdc2a mixed progressively with white.
Tones
#ecdc2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdc2a {
color: #ecdc2a;
}
.bg-ecdc2a {
background-color: #ecdc2a;
color: #000000;
}
.border-ecdc2a {
border: 2px solid #ecdc2a;
}
:root {
--color-primary: #ecdc2a;
--color-primary-rgb: 236 220 42;
--color-primary-hsl: 55 84% 55%;
}
.gradient-ecdc2a {
background: linear-gradient(135deg, #ecdc2a, #9bec2a);
}
.shadow-ecdc2a {
box-shadow: 0 8px 24px rgb(236 220 42 / 0.35);
}
Dandelion
#ecdc2a rgb(236, 220, 42) hsl(55, 84%, 55%) Dandelion
#2a3aec rgb(42, 58, 236) hsl(235, 84%, 55%) Han Purple
#2aecdc rgb(42, 236, 220) hsl(175, 84%, 55%) Bright Turquoise
#dc2aec rgb(220, 42, 236) hsl(295, 84%, 55%) Fuchsia