#fbf297 ≈ Khaki
#fbf297 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 59.22% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 39.84% yellow and 1.57% black. Its hue angle is 54.6°, 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.25:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.54.
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.8625 |
Shades
#fbf297 mixed progressively with black.
Tints
#fbf297 mixed progressively with white.
Tones
#fbf297 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbf297 {
color: #fbf297;
}
.bg-fbf297 {
background-color: #fbf297;
color: #000000;
}
.border-fbf297 {
border: 2px solid #fbf297;
}
:root {
--color-primary: #fbf297;
--color-primary-rgb: 251 242 151;
--color-primary-hsl: 55 93% 79%;
}
.gradient-fbf297 {
background: linear-gradient(135deg, #fbf297, #d2fb97);
}
.shadow-fbf297 {
box-shadow: 0 8px 24px rgb(251 242 151 / 0.35);
}
Khaki
#fbf297 rgb(251, 242, 151) hsl(55, 93%, 79%) Khaki
#97a0fb rgb(151, 160, 251) hsl(235, 93%, 79%) Wild Blue Yonder
#97fbf2 rgb(151, 251, 242) hsl(175, 93%, 79%) Celeste
#f297fb rgb(242, 151, 251) hsl(295, 93%, 79%) Violet