#fef794 ≈ Pastel Yellow
#fef794 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.04% blue; printed in CMYK it uses 0% cyan, 2.76% magenta, 41.73% yellow and 0.39% black. Its hue angle is 56.04°, with 98.15% saturation and 78.82% 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.95:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.02.
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.8973 |
Shades
#fef794 mixed progressively with black.
Tints
#fef794 mixed progressively with white.
Tones
#fef794 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef794 {
color: #fef794;
}
.bg-fef794 {
background-color: #fef794;
color: #000000;
}
.border-fef794 {
border: 2px solid #fef794;
}
:root {
--color-primary: #fef794;
--color-primary-rgb: 254 247 148;
--color-primary-hsl: 56 98% 79%;
}
.gradient-fef794 {
background: linear-gradient(135deg, #fef794, #d0fe94);
}
.shadow-fef794 {
box-shadow: 0 8px 24px rgb(254 247 148 / 0.35);
}
Pastel Yellow
#fef794 rgb(254, 247, 148) hsl(56, 98%, 79%) Pastel Yellow
#949bfe rgb(148, 155, 254) hsl(236, 98%, 79%) Cornflower Blue
#94fef7 rgb(148, 254, 247) hsl(176, 98%, 79%) Celeste
#f794fe rgb(247, 148, 254) hsl(296, 98%, 79%) Violet