#f9ec8d ≈ Khaki
#f9ec8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 92.55% green and 55.29% blue; printed in CMYK it uses 0% cyan, 5.22% magenta, 43.37% yellow and 2.35% black. Its hue angle is 52.78°, with 90% saturation and 76.47% 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.41:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.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.8205 |
Shades
#f9ec8d mixed progressively with black.
Tints
#f9ec8d mixed progressively with white.
Tones
#f9ec8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9ec8d {
color: #f9ec8d;
}
.bg-f9ec8d {
background-color: #f9ec8d;
color: #000000;
}
.border-f9ec8d {
border: 2px solid #f9ec8d;
}
:root {
--color-primary: #f9ec8d;
--color-primary-rgb: 249 236 141;
--color-primary-hsl: 53 90% 76%;
}
.gradient-f9ec8d {
background: linear-gradient(135deg, #f9ec8d, #d0f98d);
}
.shadow-f9ec8d {
box-shadow: 0 8px 24px rgb(249 236 141 / 0.35);
}
Khaki
#f9ec8d rgb(249, 236, 141) hsl(53, 90%, 76%) Khaki
#8d9af9 rgb(141, 154, 249) hsl(233, 90%, 76%) Cornflower Blue
#8df9ec rgb(141, 249, 236) hsl(173, 90%, 76%) Turquoise Blue
#ec8df9 rgb(236, 141, 249) hsl(293, 90%, 76%) Violet