#dfe18f ≈ Khaki
#dfe18f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 88.24% green and 56.08% blue; printed in CMYK it uses 0.89% cyan, 0% magenta, 36.44% yellow and 11.76% black. Its hue angle is 61.46°, with 57.75% 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.3:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.87.
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.7152 |
Shades
#dfe18f mixed progressively with black.
Tints
#dfe18f mixed progressively with white.
Tones
#dfe18f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfe18f {
color: #dfe18f;
}
.bg-dfe18f {
background-color: #dfe18f;
color: #000000;
}
.border-dfe18f {
border: 2px solid #dfe18f;
}
:root {
--color-primary: #dfe18f;
--color-primary-rgb: 223 225 143;
--color-primary-hsl: 61 58% 72%;
}
.gradient-dfe18f {
background: linear-gradient(135deg, #dfe18f, #b6e18f);
}
.shadow-dfe18f {
box-shadow: 0 8px 24px rgb(223 225 143 / 0.35);
}
Khaki
#dfe18f rgb(223, 225, 143) hsl(61, 58%, 72%) Khaki
#918fe1 rgb(145, 143, 225) hsl(241, 58%, 72%) Medium Purple
#8fdfe1 rgb(143, 223, 225) hsl(181, 58%, 72%) Pale Turquoise
#e18fdf rgb(225, 143, 223) hsl(301, 58%, 72%) Violet