#f4e58c ≈ Khaki
#f4e58c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 95.69% red, 89.8% green and 54.9% blue; printed in CMYK it uses 0% cyan, 6.15% magenta, 42.62% yellow and 4.31% black. Its hue angle is 51.35°, with 82.54% saturation and 75.29% 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.43:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.38.
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.7717 |
Shades
#f4e58c mixed progressively with black.
Tints
#f4e58c mixed progressively with white.
Tones
#f4e58c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4e58c {
color: #f4e58c;
}
.bg-f4e58c {
background-color: #f4e58c;
color: #000000;
}
.border-f4e58c {
border: 2px solid #f4e58c;
}
:root {
--color-primary: #f4e58c;
--color-primary-rgb: 244 229 140;
--color-primary-hsl: 51 83% 75%;
}
.gradient-f4e58c {
background: linear-gradient(135deg, #f4e58c, #cff48c);
}
.shadow-f4e58c {
box-shadow: 0 8px 24px rgb(244 229 140 / 0.35);
}
Khaki
#f4e58c rgb(244, 229, 140) hsl(51, 83%, 75%) Khaki
#8c9bf4 rgb(140, 155, 244) hsl(231, 83%, 75%) Cornflower Blue
#8cf4e5 rgb(140, 244, 229) hsl(171, 83%, 75%) Turquoise Blue
#e58cf4 rgb(229, 140, 244) hsl(291, 83%, 75%) Violet