#e2fa7c ≈ Pastel Yellow
#e2fa7c is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 88.63% red, 98.04% green and 48.63% blue; printed in CMYK it uses 9.6% cyan, 0% magenta, 50.4% yellow and 1.96% black. Its hue angle is 71.43°, with 92.65% saturation and 73.33% 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 18.2:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.8.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.86 |
Shades
#e2fa7c mixed progressively with black.
Tints
#e2fa7c mixed progressively with white.
Tones
#e2fa7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2fa7c {
color: #e2fa7c;
}
.bg-e2fa7c {
background-color: #e2fa7c;
color: #000000;
}
.border-e2fa7c {
border: 2px solid #e2fa7c;
}
:root {
--color-primary: #e2fa7c;
--color-primary-rgb: 226 250 124;
--color-primary-hsl: 71 93% 73%;
}
.gradient-e2fa7c {
background: linear-gradient(135deg, #e2fa7c, #a3fa7c);
}
.shadow-e2fa7c {
box-shadow: 0 8px 24px rgb(226 250 124 / 0.35);
}
Pastel Yellow
#e2fa7c rgb(226, 250, 124) hsl(71, 93%, 73%) Pastel Yellow
#947cfa rgb(148, 124, 250) hsl(251, 93%, 73%) Medium Purple
#7ce2fa rgb(124, 226, 250) hsl(191, 93%, 73%) Non-Photo Blue
#fa7ce2 rgb(250, 124, 226) hsl(311, 93%, 73%) Violet