#ecfc7c ≈ Pastel Yellow
#ecfc7c 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, 98.82% green and 48.63% blue; printed in CMYK it uses 6.35% cyan, 0% magenta, 50.79% yellow and 1.18% black. Its hue angle is 67.5°, with 95.52% saturation and 73.73% 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.78:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.49.
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.8891 |
Shades
#ecfc7c mixed progressively with black.
Tints
#ecfc7c mixed progressively with white.
Tones
#ecfc7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecfc7c {
color: #ecfc7c;
}
.bg-ecfc7c {
background-color: #ecfc7c;
color: #000000;
}
.border-ecfc7c {
border: 2px solid #ecfc7c;
}
:root {
--color-primary: #ecfc7c;
--color-primary-rgb: 236 252 124;
--color-primary-hsl: 68 96% 74%;
}
.gradient-ecfc7c {
background: linear-gradient(135deg, #ecfc7c, #acfc7c);
}
.shadow-ecfc7c {
box-shadow: 0 8px 24px rgb(236 252 124 / 0.35);
}
Pastel Yellow
#ecfc7c rgb(236, 252, 124) hsl(68, 96%, 74%) Pastel Yellow
#8c7cfc rgb(140, 124, 252) hsl(248, 96%, 74%) Medium Slate Blue
#7cecfc rgb(124, 236, 252) hsl(188, 96%, 74%) Electric Blue
#fc7cec rgb(252, 124, 236) hsl(308, 96%, 74%) Violet