#f8ec79 ≈ Khaki
#f8ec79 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 47.45% blue; printed in CMYK it uses 0% cyan, 4.84% magenta, 51.21% yellow and 2.75% black. Its hue angle is 54.33°, with 90.07% saturation and 72.35% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 17.27:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8133 |
Shades
#f8ec79 mixed progressively with black.
Tints
#f8ec79 mixed progressively with white.
Tones
#f8ec79 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8ec79 {
color: #f8ec79;
}
.bg-f8ec79 {
background-color: #f8ec79;
color: #000000;
}
.border-f8ec79 {
border: 2px solid #f8ec79;
}
:root {
--color-primary: #f8ec79;
--color-primary-rgb: 248 236 121;
--color-primary-hsl: 54 90% 72%;
}
.gradient-f8ec79 {
background: linear-gradient(135deg, #f8ec79, #c4f879);
}
.shadow-f8ec79 {
box-shadow: 0 8px 24px rgb(248 236 121 / 0.35);
}
Khaki
#f8ec79 rgb(248, 236, 121) hsl(54, 90%, 72%) Khaki
#7985f8 rgb(121, 133, 248) hsl(234, 90%, 72%) Cornflower Blue
#79f8ec rgb(121, 248, 236) hsl(174, 90%, 72%) Turquoise Blue
#ec79f8 rgb(236, 121, 248) hsl(294, 90%, 72%) Fuchsia Pink