#fbf2a1 ≈ Khaki
#fbf2a1 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 94.9% green and 63.14% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 35.86% yellow and 1.57% black. Its hue angle is 54°, with 91.84% saturation and 80.78% 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.32:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.07.
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.8659 |
Shades
#fbf2a1 mixed progressively with black.
Tints
#fbf2a1 mixed progressively with white.
Tones
#fbf2a1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf2a1 {
color: #fbf2a1;
}
.bg-fbf2a1 {
background-color: #fbf2a1;
color: #000000;
}
.border-fbf2a1 {
border: 2px solid #fbf2a1;
}
:root {
--color-primary: #fbf2a1;
--color-primary-rgb: 251 242 161;
--color-primary-hsl: 54 92% 81%;
}
.gradient-fbf2a1 {
background: linear-gradient(135deg, #fbf2a1, #d7fba1);
}
.shadow-fbf2a1 {
box-shadow: 0 8px 24px rgb(251 242 161 / 0.35);
}
Khaki
#fbf2a1 rgb(251, 242, 161) hsl(54, 92%, 81%) Khaki
#a1aafb rgb(161, 170, 251) hsl(234, 92%, 81%) Wild Blue Yonder
#a1fbf2 rgb(161, 251, 242) hsl(174, 92%, 81%) Celeste
#f2a1fb rgb(242, 161, 251) hsl(294, 92%, 81%) Mauve