#fbef8a ≈ Khaki
#fbef8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 93.73% green and 54.12% blue; printed in CMYK it uses 0% cyan, 4.78% magenta, 45.02% yellow and 1.57% black. Its hue angle is 53.63°, with 93.39% saturation and 76.27% 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 17.82:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.55.
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.8408 |
Shades
#fbef8a mixed progressively with black.
Tints
#fbef8a mixed progressively with white.
Tones
#fbef8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fbef8a {
color: #fbef8a;
}
.bg-fbef8a {
background-color: #fbef8a;
color: #000000;
}
.border-fbef8a {
border: 2px solid #fbef8a;
}
:root {
--color-primary: #fbef8a;
--color-primary-rgb: 251 239 138;
--color-primary-hsl: 54 93% 76%;
}
.gradient-fbef8a {
background: linear-gradient(135deg, #fbef8a, #cefb8a);
}
.shadow-fbef8a {
box-shadow: 0 8px 24px rgb(251 239 138 / 0.35);
}
Khaki
#fbef8a rgb(251, 239, 138) hsl(54, 93%, 76%) Khaki
#8a96fb rgb(138, 150, 251) hsl(234, 93%, 76%) Cornflower Blue
#8afbef rgb(138, 251, 239) hsl(174, 93%, 76%) Turquoise Blue
#ef8afb rgb(239, 138, 251) hsl(294, 93%, 76%) Violet