#ecfa8a ≈ Pastel Yellow
#ecfa8a is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 98.04% green and 54.12% blue; printed in CMYK it uses 5.6% cyan, 0% magenta, 44.8% yellow and 1.96% black. Its hue angle is 67.5°, with 91.8% saturation and 76.08% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 18.61:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8804 |
Shades
#ecfa8a mixed progressively with black.
Tints
#ecfa8a mixed progressively with white.
Tones
#ecfa8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecfa8a {
color: #ecfa8a;
}
.bg-ecfa8a {
background-color: #ecfa8a;
color: #000000;
}
.border-ecfa8a {
border: 2px solid #ecfa8a;
}
:root {
--color-primary: #ecfa8a;
--color-primary-rgb: 236 250 138;
--color-primary-hsl: 68 92% 76%;
}
.gradient-ecfa8a {
background: linear-gradient(135deg, #ecfa8a, #b4fa8a);
}
.shadow-ecfa8a {
box-shadow: 0 8px 24px rgb(236 250 138 / 0.35);
}
Pastel Yellow
#ecfa8a rgb(236, 250, 138) hsl(68, 92%, 76%) Pastel Yellow
#988afa rgb(152, 138, 250) hsl(248, 92%, 76%) Medium Purple
#8aecfa rgb(138, 236, 250) hsl(188, 92%, 76%) Electric Blue
#fa8aec rgb(250, 138, 236) hsl(308, 92%, 76%) Violet