#f8ec9f ≈ Khaki
#f8ec9f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 92.55% green and 62.35% blue; printed in CMYK it uses 0% cyan, 4.84% magenta, 35.89% yellow and 2.75% black. Its hue angle is 51.91°, with 86.41% saturation and 79.8% 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.49:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.75.
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.8245 |
Shades
#f8ec9f mixed progressively with black.
Tints
#f8ec9f mixed progressively with white.
Tones
#f8ec9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8ec9f {
color: #f8ec9f;
}
.bg-f8ec9f {
background-color: #f8ec9f;
color: #000000;
}
.border-f8ec9f {
border: 2px solid #f8ec9f;
}
:root {
--color-primary: #f8ec9f;
--color-primary-rgb: 248 236 159;
--color-primary-hsl: 52 86% 80%;
}
.gradient-f8ec9f {
background: linear-gradient(135deg, #f8ec9f, #d7f89f);
}
.shadow-f8ec9f {
box-shadow: 0 8px 24px rgb(248 236 159 / 0.35);
}
Khaki
#f8ec9f rgb(248, 236, 159) hsl(52, 86%, 80%) Khaki
#9fabf8 rgb(159, 171, 248) hsl(232, 86%, 80%) Wild Blue Yonder
#9ff8ec rgb(159, 248, 236) hsl(172, 86%, 80%) Celeste
#ec9ff8 rgb(236, 159, 248) hsl(292, 86%, 80%) Mauve