#f7ec98 ≈ Khaki
#f7ec98 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 92.55% green and 59.61% blue; printed in CMYK it uses 0% cyan, 4.45% magenta, 38.46% yellow and 3.14% black. Its hue angle is 53.05°, with 85.59% saturation and 78.24% 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.8203 |
Shades
#f7ec98 mixed progressively with black.
Tints
#f7ec98 mixed progressively with white.
Tones
#f7ec98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7ec98 {
color: #f7ec98;
}
.bg-f7ec98 {
background-color: #f7ec98;
color: #000000;
}
.border-f7ec98 {
border: 2px solid #f7ec98;
}
:root {
--color-primary: #f7ec98;
--color-primary-rgb: 247 236 152;
--color-primary-hsl: 53 86% 78%;
}
.gradient-f7ec98 {
background: linear-gradient(135deg, #f7ec98, #d3f798);
}
.shadow-f7ec98 {
box-shadow: 0 8px 24px rgb(247 236 152 / 0.35);
}
Khaki
#f7ec98 rgb(247, 236, 152) hsl(53, 86%, 78%) Khaki
#98a3f7 rgb(152, 163, 247) hsl(233, 86%, 78%) Wild Blue Yonder
#98f7ec rgb(152, 247, 236) hsl(173, 86%, 78%) Celeste
#ec98f7 rgb(236, 152, 247) hsl(293, 86%, 78%) Violet