#ecc51e ≈ Jonquil
#ecc51e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 77.25% green and 11.76% blue; printed in CMYK it uses 0% cyan, 16.53% magenta, 87.29% yellow and 7.45% black. Its hue angle is 48.64°, with 84.43% saturation and 52.16% 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.57:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.6.
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.5786 |
Shades
#ecc51e mixed progressively with black.
Tints
#ecc51e mixed progressively with white.
Tones
#ecc51e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc51e {
color: #ecc51e;
}
.bg-ecc51e {
background-color: #ecc51e;
color: #000000;
}
.border-ecc51e {
border: 2px solid #ecc51e;
}
:root {
--color-primary: #ecc51e;
--color-primary-rgb: 236 197 30;
--color-primary-hsl: 49 84% 52%;
}
.gradient-ecc51e {
background: linear-gradient(135deg, #ecc51e, #acec1e);
}
.shadow-ecc51e {
box-shadow: 0 8px 24px rgb(236 197 30 / 0.35);
}
Jonquil
#ecc51e rgb(236, 197, 30) hsl(49, 84%, 52%) Jonquil
#1e45ec rgb(30, 69, 236) hsl(229, 84%, 52%) Iris
#1eecc5 rgb(30, 236, 197) hsl(169, 84%, 52%) Aquamarine
#c51eec rgb(197, 30, 236) hsl(289, 84%, 52%) Electric Purple