#fbf897 ≈ Pastel Yellow
#fbf897 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 97.25% green and 59.22% blue; printed in CMYK it uses 0% cyan, 1.2% magenta, 39.84% yellow and 1.57% black. Its hue angle is 58.2°, with 92.59% 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.98:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.36.
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.8988 |
Shades
#fbf897 mixed progressively with black.
Tints
#fbf897 mixed progressively with white.
Tones
#fbf897 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf897 {
color: #fbf897;
}
.bg-fbf897 {
background-color: #fbf897;
color: #000000;
}
.border-fbf897 {
border: 2px solid #fbf897;
}
:root {
--color-primary: #fbf897;
--color-primary-rgb: 251 248 151;
--color-primary-hsl: 58 93% 79%;
}
.gradient-fbf897 {
background: linear-gradient(135deg, #fbf897, #ccfb97);
}
.shadow-fbf897 {
box-shadow: 0 8px 24px rgb(251 248 151 / 0.35);
}
Pastel Yellow
#fbf897 rgb(251, 248, 151) hsl(58, 93%, 79%) Pastel Yellow
#979afb rgb(151, 154, 251) hsl(238, 93%, 79%) Cornflower Blue
#97fbf8 rgb(151, 251, 248) hsl(178, 93%, 79%) Celeste
#f897fb rgb(248, 151, 251) hsl(298, 93%, 79%) Violet