#ecc802 ≈ Jonquil
#ecc802 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 78.43% green and 0.78% blue; printed in CMYK it uses 0% cyan, 15.25% magenta, 99.15% yellow and 7.45% black. Its hue angle is 50.77°, 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 12.83:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.73.
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.5915 |
Shades
#ecc802 mixed progressively with black.
Tints
#ecc802 mixed progressively with white.
Tones
#ecc802 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc802 {
color: #ecc802;
}
.bg-ecc802 {
background-color: #ecc802;
color: #000000;
}
.border-ecc802 {
border: 2px solid #ecc802;
}
:root {
--color-primary: #ecc802;
--color-primary-rgb: 236 200 2;
--color-primary-hsl: 51 98% 47%;
}
.gradient-ecc802 {
background: linear-gradient(135deg, #ecc802, #9bec02);
}
.shadow-ecc802 {
box-shadow: 0 8px 24px rgb(236 200 2 / 0.35);
}
Jonquil
#ecc802 rgb(236, 200, 2) hsl(51, 98%, 47%) Jonquil
#0226ec rgb(2, 38, 236) hsl(231, 98%, 47%) Blue
#02ecc8 rgb(2, 236, 200) hsl(171, 98%, 47%) Turquoise
#c802ec rgb(200, 2, 236) hsl(291, 98%, 47%) Electric Purple