#fffba5 ≈ Pastel Yellow
#fffba5 is a color from the yellow family, with very high lightness and moderate saturation. In the RGB model it is made of 100% red, 98.43% green and 64.71% blue; printed in CMYK it uses 0% cyan, 1.57% magenta, 35.29% yellow and 0% black. Its hue angle is 57.33°, with 100% saturation and 82.35% 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.59:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.7.
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.9297 |
Shades
#fffba5 mixed progressively with black.
Tints
#fffba5 mixed progressively with white.
Tones
#fffba5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fffba5 {
color: #fffba5;
}
.bg-fffba5 {
background-color: #fffba5;
color: #000000;
}
.border-fffba5 {
border: 2px solid #fffba5;
}
:root {
--color-primary: #fffba5;
--color-primary-rgb: 255 251 165;
--color-primary-hsl: 57 100% 82%;
}
.gradient-fffba5 {
background: linear-gradient(135deg, #fffba5, #d6ffa5);
}
.shadow-fffba5 {
box-shadow: 0 8px 24px rgb(255 251 165 / 0.35);
}
Pastel Yellow
#fffba5 rgb(255, 251, 165) hsl(57, 100%, 82%) Pastel Yellow
#a5a9ff rgb(165, 169, 255) hsl(237, 100%, 82%) Wild Blue Yonder
#a5fffb rgb(165, 255, 251) hsl(177, 100%, 82%) Celeste
#fba5ff rgb(251, 165, 255) hsl(297, 100%, 82%) Mauve