#dfd88f ≈ Khaki
#dfd88f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 84.71% green and 56.08% blue; printed in CMYK it uses 0% cyan, 3.14% magenta, 35.87% yellow and 12.55% black. Its hue angle is 54.75°, with 55.56% saturation and 71.76% 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 14.36:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.27.
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.6678 |
Shades
#dfd88f mixed progressively with black.
Tints
#dfd88f mixed progressively with white.
Tones
#dfd88f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd88f {
color: #dfd88f;
}
.bg-dfd88f {
background-color: #dfd88f;
color: #000000;
}
.border-dfd88f {
border: 2px solid #dfd88f;
}
:root {
--color-primary: #dfd88f;
--color-primary-rgb: 223 216 143;
--color-primary-hsl: 55 56% 72%;
}
.gradient-dfd88f {
background: linear-gradient(135deg, #dfd88f, #bedf8f);
}
.shadow-dfd88f {
box-shadow: 0 8px 24px rgb(223 216 143 / 0.35);
}
Khaki
#dfd88f rgb(223, 216, 143) hsl(55, 56%, 72%) Khaki
#8f96df rgb(143, 150, 223) hsl(235, 56%, 72%) Wild Blue Yonder
#8fdfd8 rgb(143, 223, 216) hsl(175, 56%, 72%) Pale Turquoise
#d88fdf rgb(216, 143, 223) hsl(295, 56%, 72%) Plum