#dfd98f ≈ Khaki
#dfd98f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 85.1% green and 56.08% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 35.87% yellow and 12.55% black. Its hue angle is 55.5°, 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.46:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.1.
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.673 |
Shades
#dfd98f mixed progressively with black.
Tints
#dfd98f mixed progressively with white.
Tones
#dfd98f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd98f {
color: #dfd98f;
}
.bg-dfd98f {
background-color: #dfd98f;
color: #000000;
}
.border-dfd98f {
border: 2px solid #dfd98f;
}
:root {
--color-primary: #dfd98f;
--color-primary-rgb: 223 217 143;
--color-primary-hsl: 56 56% 72%;
}
.gradient-dfd98f {
background: linear-gradient(135deg, #dfd98f, #bddf8f);
}
.shadow-dfd98f {
box-shadow: 0 8px 24px rgb(223 217 143 / 0.35);
}
Khaki
#dfd98f rgb(223, 217, 143) hsl(56, 56%, 72%) Khaki
#8f95df rgb(143, 149, 223) hsl(236, 56%, 72%) Wild Blue Yonder
#8fdfd9 rgb(143, 223, 217) hsl(176, 56%, 72%) Pale Turquoise
#d98fdf rgb(217, 143, 223) hsl(296, 56%, 72%) Violet