#fef78a ≈ Pastel Yellow
#fef78a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 96.86% green and 54.12% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 45.67% yellow and 0.39% black. Its hue angle is 56.38°, with 98.31% saturation and 76.86% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 18.89:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.28.
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.8943 |
Shades
#fef78a mixed progressively with black.
Tints
#fef78a mixed progressively with white.
Tones
#fef78a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef78a {
color: #fef78a;
}
.bg-fef78a {
background-color: #fef78a;
color: #000000;
}
.border-fef78a {
border: 2px solid #fef78a;
}
:root {
--color-primary: #fef78a;
--color-primary-rgb: 254 247 138;
--color-primary-hsl: 56 98% 77%;
}
.gradient-fef78a {
background: linear-gradient(135deg, #fef78a, #cbfe8a);
}
.shadow-fef78a {
box-shadow: 0 8px 24px rgb(254 247 138 / 0.35);
}
Pastel Yellow
#fef78a rgb(254, 247, 138) hsl(56, 98%, 77%) Pastel Yellow
#8a91fe rgb(138, 145, 254) hsl(236, 98%, 77%) Cornflower Blue
#8afef7 rgb(138, 254, 247) hsl(176, 98%, 77%) Electric Blue
#f78afe rgb(247, 138, 254) hsl(296, 98%, 77%) Violet