#ecf331 ≈ Daffodil
#ecf331 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 95.29% green and 19.22% blue; printed in CMYK it uses 2.88% cyan, 0% magenta, 79.84% yellow and 4.71% black. Its hue angle is 62.16°, with 88.99% saturation and 57.25% 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 17.43:1 (WCAG AAA). The closest named color is Daffodil (#ffff31), ΔE 3.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8216 |
Shades
#ecf331 mixed progressively with black.
Tints
#ecf331 mixed progressively with white.
Tones
#ecf331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecf331 {
color: #ecf331;
}
.bg-ecf331 {
background-color: #ecf331;
color: #000000;
}
.border-ecf331 {
border: 2px solid #ecf331;
}
:root {
--color-primary: #ecf331;
--color-primary-rgb: 236 243 49;
--color-primary-hsl: 62 89% 57%;
}
.gradient-ecf331 {
background: linear-gradient(135deg, #ecf331, #8bf331);
}
.shadow-ecf331 {
box-shadow: 0 8px 24px rgb(236 243 49 / 0.35);
}
Daffodil
#ecf331 rgb(236, 243, 49) hsl(62, 89%, 57%) Daffodil
#3831f3 rgb(56, 49, 243) hsl(242, 89%, 57%) Han Purple
#31ecf3 rgb(49, 236, 243) hsl(182, 89%, 57%) Aqua
#f331ec rgb(243, 49, 236) hsl(302, 89%, 57%) Fuchsia