#fef7a0 ≈ Pastel Yellow
#fef7a0 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 62.75% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 37.01% yellow and 0.39% black. Its hue angle is 55.53°, with 97.92% saturation and 81.18% 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 19.03:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.98.
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.9013 |
Shades
#fef7a0 mixed progressively with black.
Tints
#fef7a0 mixed progressively with white.
Tones
#fef7a0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef7a0 {
color: #fef7a0;
}
.bg-fef7a0 {
background-color: #fef7a0;
color: #000000;
}
.border-fef7a0 {
border: 2px solid #fef7a0;
}
:root {
--color-primary: #fef7a0;
--color-primary-rgb: 254 247 160;
--color-primary-hsl: 56 98% 81%;
}
.gradient-fef7a0 {
background: linear-gradient(135deg, #fef7a0, #d6fea0);
}
.shadow-fef7a0 {
box-shadow: 0 8px 24px rgb(254 247 160 / 0.35);
}
Pastel Yellow
#fef7a0 rgb(254, 247, 160) hsl(56, 98%, 81%) Pastel Yellow
#a0a7fe rgb(160, 167, 254) hsl(236, 98%, 81%) Wild Blue Yonder
#a0fef7 rgb(160, 254, 247) hsl(176, 98%, 81%) Celeste
#f7a0fe rgb(247, 160, 254) hsl(296, 98%, 81%) Mauve