#dfd98a ≈ Khaki
#dfd98a 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 54.12% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 38.12% yellow and 12.55% black. Its hue angle is 55.76°, with 57.05% saturation and 70.78% 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.43:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.63.
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.6715 |
Shades
#dfd98a mixed progressively with black.
Tints
#dfd98a mixed progressively with white.
Tones
#dfd98a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd98a {
color: #dfd98a;
}
.bg-dfd98a {
background-color: #dfd98a;
color: #000000;
}
.border-dfd98a {
border: 2px solid #dfd98a;
}
:root {
--color-primary: #dfd98a;
--color-primary-rgb: 223 217 138;
--color-primary-hsl: 56 57% 71%;
}
.gradient-dfd98a {
background: linear-gradient(135deg, #dfd98a, #badf8a);
}
.shadow-dfd98a {
box-shadow: 0 8px 24px rgb(223 217 138 / 0.35);
}
Khaki
#dfd98a rgb(223, 217, 138) hsl(56, 57%, 71%) Khaki
#8a90df rgb(138, 144, 223) hsl(236, 57%, 71%) Cornflower Blue
#8adfd9 rgb(138, 223, 217) hsl(176, 57%, 71%) Pale Turquoise
#d98adf rgb(217, 138, 223) hsl(296, 57%, 71%) Violet