#e4e48c ≈ Khaki
#e4e48c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 89.41% red, 89.41% green and 54.9% blue; printed in CMYK it uses 0% cyan, 0% magenta, 38.6% yellow and 10.59% black. Its hue angle is 60°, with 61.97% saturation and 72.16% 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 15.77:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7387 |
Shades
#e4e48c mixed progressively with black.
Tints
#e4e48c mixed progressively with white.
Tones
#e4e48c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e4e48c {
color: #e4e48c;
}
.bg-e4e48c {
background-color: #e4e48c;
color: #000000;
}
.border-e4e48c {
border: 2px solid #e4e48c;
}
:root {
--color-primary: #e4e48c;
--color-primary-rgb: 228 228 140;
--color-primary-hsl: 60 62% 72%;
}
.gradient-e4e48c {
background: linear-gradient(135deg, #e4e48c, #b8e48c);
}
.shadow-e4e48c {
box-shadow: 0 8px 24px rgb(228 228 140 / 0.35);
}
Khaki
#e4e48c rgb(228, 228, 140) hsl(60, 62%, 72%) Khaki
#8c8ce4 rgb(140, 140, 228) hsl(240, 62%, 72%) Medium Purple
#8ce4e4 rgb(140, 228, 228) hsl(180, 62%, 72%) Pale Turquoise
#e48ce4 rgb(228, 140, 228) hsl(300, 62%, 72%) Violet