#f0e381 ≈ Khaki
#f0e381 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 89.02% green and 50.59% blue; printed in CMYK it uses 0% cyan, 5.42% magenta, 46.25% yellow and 5.88% black. Its hue angle is 52.97°, with 78.72% saturation and 72.35% 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.01:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7505 |
Shades
#f0e381 mixed progressively with black.
Tints
#f0e381 mixed progressively with white.
Tones
#f0e381 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0e381 {
color: #f0e381;
}
.bg-f0e381 {
background-color: #f0e381;
color: #000000;
}
.border-f0e381 {
border: 2px solid #f0e381;
}
:root {
--color-primary: #f0e381;
--color-primary-rgb: 240 227 129;
--color-primary-hsl: 53 79% 72%;
}
.gradient-f0e381 {
background: linear-gradient(135deg, #f0e381, #c5f081);
}
.shadow-f0e381 {
box-shadow: 0 8px 24px rgb(240 227 129 / 0.35);
}
Khaki
#f0e381 rgb(240, 227, 129) hsl(53, 79%, 72%) Khaki
#818ef0 rgb(129, 142, 240) hsl(233, 79%, 72%) Cornflower Blue
#81f0e3 rgb(129, 240, 227) hsl(173, 79%, 72%) Turquoise
#e381f0 rgb(227, 129, 240) hsl(293, 79%, 72%) Violet