#f7ef8b ≈ Khaki
#f7ef8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 93.73% green and 54.51% blue; printed in CMYK it uses 0% cyan, 3.24% magenta, 43.72% yellow and 3.14% black. Its hue angle is 55.56°, with 87.1% saturation and 75.69% 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.67:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.33.
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.8337 |
Shades
#f7ef8b mixed progressively with black.
Tints
#f7ef8b mixed progressively with white.
Tones
#f7ef8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7ef8b {
color: #f7ef8b;
}
.bg-f7ef8b {
background-color: #f7ef8b;
color: #000000;
}
.border-f7ef8b {
border: 2px solid #f7ef8b;
}
:root {
--color-primary: #f7ef8b;
--color-primary-rgb: 247 239 139;
--color-primary-hsl: 56 87% 76%;
}
.gradient-f7ef8b {
background: linear-gradient(135deg, #f7ef8b, #c9f78b);
}
.shadow-f7ef8b {
box-shadow: 0 8px 24px rgb(247 239 139 / 0.35);
}
Khaki
#f7ef8b rgb(247, 239, 139) hsl(56, 87%, 76%) Khaki
#8b93f7 rgb(139, 147, 247) hsl(236, 87%, 76%) Cornflower Blue
#8bf7ef rgb(139, 247, 239) hsl(176, 87%, 76%) Electric Blue
#ef8bf7 rgb(239, 139, 247) hsl(296, 87%, 76%) Violet