#fbf7a2 ≈ Pastel Yellow
#fbf7a2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 96.86% green and 63.53% blue; printed in CMYK it uses 0% cyan, 1.59% magenta, 35.46% yellow and 1.57% black. Its hue angle is 57.3°, with 91.75% saturation and 80.98% 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.93:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.96.
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.8964 |
Shades
#fbf7a2 mixed progressively with black.
Tints
#fbf7a2 mixed progressively with white.
Tones
#fbf7a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf7a2 {
color: #fbf7a2;
}
.bg-fbf7a2 {
background-color: #fbf7a2;
color: #000000;
}
.border-fbf7a2 {
border: 2px solid #fbf7a2;
}
:root {
--color-primary: #fbf7a2;
--color-primary-rgb: 251 247 162;
--color-primary-hsl: 57 92% 81%;
}
.gradient-fbf7a2 {
background: linear-gradient(135deg, #fbf7a2, #d3fba2);
}
.shadow-fbf7a2 {
box-shadow: 0 8px 24px rgb(251 247 162 / 0.35);
}
Pastel Yellow
#fbf7a2 rgb(251, 247, 162) hsl(57, 92%, 81%) Pastel Yellow
#a2a6fb rgb(162, 166, 251) hsl(237, 92%, 81%) Wild Blue Yonder
#a2fbf7 rgb(162, 251, 247) hsl(177, 92%, 81%) Celeste
#f7a2fb rgb(247, 162, 251) hsl(297, 92%, 81%) Plum