#ecf07a ≈ Pastel Yellow
#ecf07a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 94.12% green and 47.84% blue; printed in CMYK it uses 1.67% cyan, 0% magenta, 49.17% yellow and 5.88% black. Its hue angle is 62.03°, with 79.73% saturation and 70.98% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 17.31:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.69.
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.8156 |
Shades
#ecf07a mixed progressively with black.
Tints
#ecf07a mixed progressively with white.
Tones
#ecf07a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecf07a {
color: #ecf07a;
}
.bg-ecf07a {
background-color: #ecf07a;
color: #000000;
}
.border-ecf07a {
border: 2px solid #ecf07a;
}
:root {
--color-primary: #ecf07a;
--color-primary-rgb: 236 240 122;
--color-primary-hsl: 62 80% 71%;
}
.gradient-ecf07a {
background: linear-gradient(135deg, #ecf07a, #b1f07a);
}
.shadow-ecf07a {
box-shadow: 0 8px 24px rgb(236 240 122 / 0.35);
}
Pastel Yellow
#ecf07a rgb(236, 240, 122) hsl(62, 80%, 71%) Pastel Yellow
#7e7af0 rgb(126, 122, 240) hsl(242, 80%, 71%) Medium Slate Blue
#7aecf0 rgb(122, 236, 240) hsl(182, 80%, 71%) Electric Blue
#f07aec rgb(240, 122, 236) hsl(302, 80%, 71%) Violet