#f0ea8d ≈ Khaki
#f0ea8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 91.76% green and 55.29% blue; printed in CMYK it uses 0% cyan, 2.5% magenta, 41.25% yellow and 5.88% black. Its hue angle is 56.36°, with 76.74% 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.86:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.33.
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.7929 |
Shades
#f0ea8d mixed progressively with black.
Tints
#f0ea8d mixed progressively with white.
Tones
#f0ea8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0ea8d {
color: #f0ea8d;
}
.bg-f0ea8d {
background-color: #f0ea8d;
color: #000000;
}
.border-f0ea8d {
border: 2px solid #f0ea8d;
}
:root {
--color-primary: #f0ea8d;
--color-primary-rgb: 240 234 141;
--color-primary-hsl: 56 77% 75%;
}
.gradient-f0ea8d {
background: linear-gradient(135deg, #f0ea8d, #c5f08d);
}
.shadow-f0ea8d {
box-shadow: 0 8px 24px rgb(240 234 141 / 0.35);
}
Khaki
#f0ea8d rgb(240, 234, 141) hsl(56, 77%, 75%) Khaki
#8d93f0 rgb(141, 147, 240) hsl(236, 77%, 75%) Cornflower Blue
#8df0ea rgb(141, 240, 234) hsl(176, 77%, 75%) Electric Blue
#ea8df0 rgb(234, 141, 240) hsl(296, 77%, 75%) Violet