#dfec8a ≈ Pastel Yellow
#dfec8a is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 92.55% green and 54.12% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 41.53% yellow and 7.45% black. Its hue angle is 67.96°, with 72.06% 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 brand accents. Black text on this color reaches a contrast ratio of 16.5:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7751 |
Shades
#dfec8a mixed progressively with black.
Tints
#dfec8a mixed progressively with white.
Tones
#dfec8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfec8a {
color: #dfec8a;
}
.bg-dfec8a {
background-color: #dfec8a;
color: #000000;
}
.border-dfec8a {
border: 2px solid #dfec8a;
}
:root {
--color-primary: #dfec8a;
--color-primary-rgb: 223 236 138;
--color-primary-hsl: 68 72% 73%;
}
.gradient-dfec8a {
background: linear-gradient(135deg, #dfec8a, #aeec8a);
}
.shadow-dfec8a {
box-shadow: 0 8px 24px rgb(223 236 138 / 0.35);
}
Pastel Yellow
#dfec8a rgb(223, 236, 138) hsl(68, 72%, 73%) Pastel Yellow
#978aec rgb(151, 138, 236) hsl(248, 72%, 73%) Medium Purple
#8adfec rgb(138, 223, 236) hsl(188, 72%, 73%) Non-Photo Blue
#ec8adf rgb(236, 138, 223) hsl(308, 72%, 73%) Violet