#fef796 ≈ Pastel Yellow
#fef796 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 58.82% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 40.94% yellow and 0.39% black. Its hue angle is 55.96°, with 98.11% saturation and 79.22% 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.96:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.09.
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.8979 |
Shades
#fef796 mixed progressively with black.
Tints
#fef796 mixed progressively with white.
Tones
#fef796 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef796 {
color: #fef796;
}
.bg-fef796 {
background-color: #fef796;
color: #000000;
}
.border-fef796 {
border: 2px solid #fef796;
}
:root {
--color-primary: #fef796;
--color-primary-rgb: 254 247 150;
--color-primary-hsl: 56 98% 79%;
}
.gradient-fef796 {
background: linear-gradient(135deg, #fef796, #d1fe96);
}
.shadow-fef796 {
box-shadow: 0 8px 24px rgb(254 247 150 / 0.35);
}
Pastel Yellow
#fef796 rgb(254, 247, 150) hsl(56, 98%, 79%) Pastel Yellow
#969dfe rgb(150, 157, 254) hsl(236, 98%, 79%) Cornflower Blue
#96fef7 rgb(150, 254, 247) hsl(176, 98%, 79%) Celeste
#f796fe rgb(247, 150, 254) hsl(296, 98%, 79%) Violet