#f2e98c ≈ Khaki
#f2e98c 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.9% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 42.15% yellow and 5.1% black. Its hue angle is 54.71°, with 79.69% saturation and 74.9% 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.81:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 0.78.
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.7905 |
Shades
#f2e98c mixed progressively with black.
Tints
#f2e98c mixed progressively with white.
Tones
#f2e98c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e98c {
color: #f2e98c;
}
.bg-f2e98c {
background-color: #f2e98c;
color: #000000;
}
.border-f2e98c {
border: 2px solid #f2e98c;
}
:root {
--color-primary: #f2e98c;
--color-primary-rgb: 242 233 140;
--color-primary-hsl: 55 80% 75%;
}
.gradient-f2e98c {
background: linear-gradient(135deg, #f2e98c, #c8f28c);
}
.shadow-f2e98c {
box-shadow: 0 8px 24px rgb(242 233 140 / 0.35);
}
Khaki
#f2e98c rgb(242, 233, 140) hsl(55, 80%, 75%) Khaki
#8c95f2 rgb(140, 149, 242) hsl(235, 80%, 75%) Cornflower Blue
#8cf2e9 rgb(140, 242, 233) hsl(175, 80%, 75%) Electric Blue
#e98cf2 rgb(233, 140, 242) hsl(295, 80%, 75%) Violet