#ecc41f ≈ Jonquil
#ecc41f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 76.86% green and 12.16% blue; printed in CMYK it uses 0% cyan, 16.95% magenta, 86.86% yellow and 7.45% black. Its hue angle is 48.29°, with 84.36% saturation and 52.35% 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.48:1 (WCAG AAA). The closest named color is Jonquil (#f4ca16), ΔE 1.74.
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.5741 |
Shades
#ecc41f mixed progressively with black.
Tints
#ecc41f mixed progressively with white.
Tones
#ecc41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc41f {
color: #ecc41f;
}
.bg-ecc41f {
background-color: #ecc41f;
color: #000000;
}
.border-ecc41f {
border: 2px solid #ecc41f;
}
:root {
--color-primary: #ecc41f;
--color-primary-rgb: 236 196 31;
--color-primary-hsl: 48 84% 52%;
}
.gradient-ecc41f {
background: linear-gradient(135deg, #ecc41f, #aeec1f);
}
.shadow-ecc41f {
box-shadow: 0 8px 24px rgb(236 196 31 / 0.35);
}
Jonquil
#ecc41f rgb(236, 196, 31) hsl(48, 84%, 52%) Jonquil
#1f47ec rgb(31, 71, 236) hsl(228, 84%, 52%) Iris
#1fecc4 rgb(31, 236, 196) hsl(168, 84%, 52%) Aquamarine
#c41fec rgb(196, 31, 236) hsl(288, 84%, 52%) Electric Purple