#ecdd2a ≈ Dandelion
#ecdd2a 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.67% green and 16.47% blue; printed in CMYK it uses 0% cyan, 6.36% magenta, 82.2% yellow and 7.45% black. Its hue angle is 55.36°, 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.94:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 0.9.
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.6971 |
Shades
#ecdd2a mixed progressively with black.
Tints
#ecdd2a mixed progressively with white.
Tones
#ecdd2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdd2a {
color: #ecdd2a;
}
.bg-ecdd2a {
background-color: #ecdd2a;
color: #000000;
}
.border-ecdd2a {
border: 2px solid #ecdd2a;
}
:root {
--color-primary: #ecdd2a;
--color-primary-rgb: 236 221 42;
--color-primary-hsl: 55 84% 55%;
}
.gradient-ecdd2a {
background: linear-gradient(135deg, #ecdd2a, #9aec2a);
}
.shadow-ecdd2a {
box-shadow: 0 8px 24px rgb(236 221 42 / 0.35);
}
Dandelion
#ecdd2a rgb(236, 221, 42) hsl(55, 84%, 55%) Dandelion
#2a39ec rgb(42, 57, 236) hsl(235, 84%, 55%) Han Purple
#2aecdd rgb(42, 236, 221) hsl(175, 84%, 55%) Bright Turquoise
#dd2aec rgb(221, 42, 236) hsl(295, 84%, 55%) Fuchsia