#f8ea98 ≈ Khaki
#f8ea98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 91.76% green and 59.61% blue; printed in CMYK it uses 0% cyan, 5.65% magenta, 38.71% yellow and 2.75% black. Its hue angle is 51.25°, with 87.27% saturation and 78.43% 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.21:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.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.8107 |
Shades
#f8ea98 mixed progressively with black.
Tints
#f8ea98 mixed progressively with white.
Tones
#f8ea98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8ea98 {
color: #f8ea98;
}
.bg-f8ea98 {
background-color: #f8ea98;
color: #000000;
}
.border-f8ea98 {
border: 2px solid #f8ea98;
}
:root {
--color-primary: #f8ea98;
--color-primary-rgb: 248 234 152;
--color-primary-hsl: 51 87% 78%;
}
.gradient-f8ea98 {
background: linear-gradient(135deg, #f8ea98, #d6f898);
}
.shadow-f8ea98 {
box-shadow: 0 8px 24px rgb(248 234 152 / 0.35);
}
Khaki
#f8ea98 rgb(248, 234, 152) hsl(51, 87%, 78%) Khaki
#98a6f8 rgb(152, 166, 248) hsl(231, 87%, 78%) Wild Blue Yonder
#98f8ea rgb(152, 248, 234) hsl(171, 87%, 78%) Celeste
#ea98f8 rgb(234, 152, 248) hsl(291, 87%, 78%) Violet