#f2e98b ≈ Khaki
#f2e98b 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 54.51% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 42.56% yellow and 5.1% black. Its hue angle is 54.76°, with 79.84% saturation and 74.71% 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 brand accents. Black text on this color reaches a contrast ratio of 16.8:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 0.87.
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.7902 |
Shades
#f2e98b mixed progressively with black.
Tints
#f2e98b mixed progressively with white.
Tones
#f2e98b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e98b {
color: #f2e98b;
}
.bg-f2e98b {
background-color: #f2e98b;
color: #000000;
}
.border-f2e98b {
border: 2px solid #f2e98b;
}
:root {
--color-primary: #f2e98b;
--color-primary-rgb: 242 233 139;
--color-primary-hsl: 55 80% 75%;
}
.gradient-f2e98b {
background: linear-gradient(135deg, #f2e98b, #c8f28b);
}
.shadow-f2e98b {
box-shadow: 0 8px 24px rgb(242 233 139 / 0.35);
}
Khaki
#f2e98b rgb(242, 233, 139) hsl(55, 80%, 75%) Khaki
#8b94f2 rgb(139, 148, 242) hsl(235, 80%, 75%) Cornflower Blue
#8bf2e9 rgb(139, 242, 233) hsl(175, 80%, 75%) Electric Blue
#e98bf2 rgb(233, 139, 242) hsl(295, 80%, 75%) Violet