#ecfe7c ≈ Pastel Yellow
#ecfe7c is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 99.61% green and 48.63% blue; printed in CMYK it uses 7.09% cyan, 0% magenta, 51.18% yellow and 0.39% black. Its hue angle is 68.31°, with 98.48% saturation and 74.12% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 19.03:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.9017 |
Shades
#ecfe7c mixed progressively with black.
Tints
#ecfe7c mixed progressively with white.
Tones
#ecfe7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecfe7c {
color: #ecfe7c;
}
.bg-ecfe7c {
background-color: #ecfe7c;
color: #000000;
}
.border-ecfe7c {
border: 2px solid #ecfe7c;
}
:root {
--color-primary: #ecfe7c;
--color-primary-rgb: 236 254 124;
--color-primary-hsl: 68 98% 74%;
}
.gradient-ecfe7c {
background: linear-gradient(135deg, #ecfe7c, #abfe7c);
}
.shadow-ecfe7c {
box-shadow: 0 8px 24px rgb(236 254 124 / 0.35);
}
Pastel Yellow
#ecfe7c rgb(236, 254, 124) hsl(68, 98%, 74%) Pastel Yellow
#8e7cfe rgb(142, 124, 254) hsl(248, 98%, 74%) Medium Purple
#7cecfe rgb(124, 236, 254) hsl(188, 98%, 74%) Electric Blue
#fe7cec rgb(254, 124, 236) hsl(308, 98%, 74%) Violet