#f8efa2 ≈ Khaki
#f8efa2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 93.73% green and 63.53% blue; printed in CMYK it uses 0% cyan, 3.63% magenta, 34.68% yellow and 2.75% black. Its hue angle is 53.72°, with 86% saturation and 80.39% 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.86:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.05.
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.843 |
Shades
#f8efa2 mixed progressively with black.
Tints
#f8efa2 mixed progressively with white.
Tones
#f8efa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8efa2 {
color: #f8efa2;
}
.bg-f8efa2 {
background-color: #f8efa2;
color: #000000;
}
.border-f8efa2 {
border: 2px solid #f8efa2;
}
:root {
--color-primary: #f8efa2;
--color-primary-rgb: 248 239 162;
--color-primary-hsl: 54 86% 80%;
}
.gradient-f8efa2 {
background: linear-gradient(135deg, #f8efa2, #d6f8a2);
}
.shadow-f8efa2 {
box-shadow: 0 8px 24px rgb(248 239 162 / 0.35);
}
Khaki
#f8efa2 rgb(248, 239, 162) hsl(54, 86%, 80%) Khaki
#a2abf8 rgb(162, 171, 248) hsl(234, 86%, 80%) Wild Blue Yonder
#a2f8ef rgb(162, 248, 239) hsl(174, 86%, 80%) Celeste
#efa2f8 rgb(239, 162, 248) hsl(294, 86%, 80%) Plum