#ecdd02 ≈ Dandelion
#ecdd02 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 0.78% blue; printed in CMYK it uses 0% cyan, 6.36% magenta, 99.15% yellow and 7.45% black. Its hue angle is 56.15°, with 98.32% saturation and 46.67% 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.91:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 1.59.
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.6955 |
Shades
#ecdd02 mixed progressively with black.
Tints
#ecdd02 mixed progressively with white.
Tones
#ecdd02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecdd02 {
color: #ecdd02;
}
.bg-ecdd02 {
background-color: #ecdd02;
color: #000000;
}
.border-ecdd02 {
border: 2px solid #ecdd02;
}
:root {
--color-primary: #ecdd02;
--color-primary-rgb: 236 221 2;
--color-primary-hsl: 56 98% 47%;
}
.gradient-ecdd02 {
background: linear-gradient(135deg, #ecdd02, #86ec02);
}
.shadow-ecdd02 {
box-shadow: 0 8px 24px rgb(236 221 2 / 0.35);
}
Dandelion
#ecdd02 rgb(236, 221, 2) hsl(56, 98%, 47%) Dandelion
#0211ec rgb(2, 17, 236) hsl(236, 98%, 47%) Blue
#02ecdd rgb(2, 236, 221) hsl(176, 98%, 47%) Bright Turquoise
#dd02ec rgb(221, 2, 236) hsl(296, 98%, 47%) Electric Purple