#f2ea8f ≈ Khaki
#f2ea8f 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.76% green and 56.08% blue; printed in CMYK it uses 0% cyan, 3.31% magenta, 40.91% yellow and 5.1% black. Its hue angle is 55.15°, with 79.2% saturation and 75.49% 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.94:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 0.96.
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.7971 |
Shades
#f2ea8f mixed progressively with black.
Tints
#f2ea8f mixed progressively with white.
Tones
#f2ea8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2ea8f {
color: #f2ea8f;
}
.bg-f2ea8f {
background-color: #f2ea8f;
color: #000000;
}
.border-f2ea8f {
border: 2px solid #f2ea8f;
}
:root {
--color-primary: #f2ea8f;
--color-primary-rgb: 242 234 143;
--color-primary-hsl: 55 79% 75%;
}
.gradient-f2ea8f {
background: linear-gradient(135deg, #f2ea8f, #c9f28f);
}
.shadow-f2ea8f {
box-shadow: 0 8px 24px rgb(242 234 143 / 0.35);
}
Khaki
#f2ea8f rgb(242, 234, 143) hsl(55, 79%, 75%) Khaki
#8f97f2 rgb(143, 151, 242) hsl(235, 79%, 75%) Cornflower Blue
#8ff2ea rgb(143, 242, 234) hsl(175, 79%, 75%) Electric Blue
#ea8ff2 rgb(234, 143, 242) hsl(295, 79%, 75%) Violet