#f2e998 ≈ Khaki
#f2e998 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 91.37% green and 59.61% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 37.19% yellow and 5.1% black. Its hue angle is 54°, with 77.59% saturation and 77.25% 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 16.88:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.69.
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.7942 |
Shades
#f2e998 mixed progressively with black.
Tints
#f2e998 mixed progressively with white.
Tones
#f2e998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e998 {
color: #f2e998;
}
.bg-f2e998 {
background-color: #f2e998;
color: #000000;
}
.border-f2e998 {
border: 2px solid #f2e998;
}
:root {
--color-primary: #f2e998;
--color-primary-rgb: 242 233 152;
--color-primary-hsl: 54 78% 77%;
}
.gradient-f2e998 {
background: linear-gradient(135deg, #f2e998, #cef298);
}
.shadow-f2e998 {
box-shadow: 0 8px 24px rgb(242 233 152 / 0.35);
}
Khaki
#f2e998 rgb(242, 233, 152) hsl(54, 78%, 77%) Khaki
#98a1f2 rgb(152, 161, 242) hsl(234, 78%, 77%) Wild Blue Yonder
#98f2e9 rgb(152, 242, 233) hsl(174, 78%, 77%) Celeste
#e998f2 rgb(233, 152, 242) hsl(294, 78%, 77%) Violet