#ecfc8a ≈ Pastel Yellow
#ecfc8a 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.82% green and 54.12% blue; printed in CMYK it uses 6.35% cyan, 0% magenta, 45.24% yellow and 1.18% black. Its hue angle is 68.42°, with 95% saturation and 76.47% 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.86:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.83.
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.8929 |
Shades
#ecfc8a mixed progressively with black.
Tints
#ecfc8a mixed progressively with white.
Tones
#ecfc8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecfc8a {
color: #ecfc8a;
}
.bg-ecfc8a {
background-color: #ecfc8a;
color: #000000;
}
.border-ecfc8a {
border: 2px solid #ecfc8a;
}
:root {
--color-primary: #ecfc8a;
--color-primary-rgb: 236 252 138;
--color-primary-hsl: 68 95% 76%;
}
.gradient-ecfc8a {
background: linear-gradient(135deg, #ecfc8a, #b3fc8a);
}
.shadow-ecfc8a {
box-shadow: 0 8px 24px rgb(236 252 138 / 0.35);
}
Pastel Yellow
#ecfc8a rgb(236, 252, 138) hsl(68, 95%, 76%) Pastel Yellow
#9a8afc rgb(154, 138, 252) hsl(248, 95%, 76%) Medium Purple
#8aecfc rgb(138, 236, 252) hsl(188, 95%, 76%) Electric Blue
#fc8aec rgb(252, 138, 236) hsl(308, 95%, 76%) Violet