#ecc72a ≈ Jonquil
#ecc72a 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.04% green and 16.47% blue; printed in CMYK it uses 0% cyan, 15.68% magenta, 82.2% yellow and 7.45% black. Its hue angle is 48.56°, 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 12.77:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.83.
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.5885 |
Shades
#ecc72a mixed progressively with black.
Tints
#ecc72a mixed progressively with white.
Tones
#ecc72a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc72a {
color: #ecc72a;
}
.bg-ecc72a {
background-color: #ecc72a;
color: #000000;
}
.border-ecc72a {
border: 2px solid #ecc72a;
}
:root {
--color-primary: #ecc72a;
--color-primary-rgb: 236 199 42;
--color-primary-hsl: 49 84% 55%;
}
.gradient-ecc72a {
background: linear-gradient(135deg, #ecc72a, #b0ec2a);
}
.shadow-ecc72a {
box-shadow: 0 8px 24px rgb(236 199 42 / 0.35);
}
Jonquil
#ecc72a rgb(236, 199, 42) hsl(49, 84%, 55%) Jonquil
#2a4fec rgb(42, 79, 236) hsl(229, 84%, 55%) Iris
#2aecc7 rgb(42, 236, 199) hsl(169, 84%, 55%) Aquamarine
#c72aec rgb(199, 42, 236) hsl(289, 84%, 55%) Electric Purple