#fdf897 ≈ Pastel Yellow
#fdf897 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.22% red, 97.25% green and 59.22% blue; printed in CMYK it uses 0% cyan, 1.98% magenta, 40.32% yellow and 0.78% black. Its hue angle is 57.06°, with 96.23% 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 19.05:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.63.
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.9025 |
Shades
#fdf897 mixed progressively with black.
Tints
#fdf897 mixed progressively with white.
Tones
#fdf897 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fdf897 {
color: #fdf897;
}
.bg-fdf897 {
background-color: #fdf897;
color: #000000;
}
.border-fdf897 {
border: 2px solid #fdf897;
}
:root {
--color-primary: #fdf897;
--color-primary-rgb: 253 248 151;
--color-primary-hsl: 57 96% 79%;
}
.gradient-fdf897 {
background: linear-gradient(135deg, #fdf897, #cffd97);
}
.shadow-fdf897 {
box-shadow: 0 8px 24px rgb(253 248 151 / 0.35);
}
Pastel Yellow
#fdf897 rgb(253, 248, 151) hsl(57, 96%, 79%) Pastel Yellow
#979cfd rgb(151, 156, 253) hsl(237, 96%, 79%) Cornflower Blue
#97fdf8 rgb(151, 253, 248) hsl(177, 96%, 79%) Celeste
#f897fd rgb(248, 151, 253) hsl(297, 96%, 79%) Violet