#dfd98b ≈ Khaki
#dfd98b 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.51% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 37.67% yellow and 12.55% black. Its hue angle is 55.71°, with 56.76% saturation and 70.98% 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.44:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.71.
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.6718 |
Shades
#dfd98b mixed progressively with black.
Tints
#dfd98b mixed progressively with white.
Tones
#dfd98b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd98b {
color: #dfd98b;
}
.bg-dfd98b {
background-color: #dfd98b;
color: #000000;
}
.border-dfd98b {
border: 2px solid #dfd98b;
}
:root {
--color-primary: #dfd98b;
--color-primary-rgb: 223 217 139;
--color-primary-hsl: 56 57% 71%;
}
.gradient-dfd98b {
background: linear-gradient(135deg, #dfd98b, #bbdf8b);
}
.shadow-dfd98b {
box-shadow: 0 8px 24px rgb(223 217 139 / 0.35);
}
Khaki
#dfd98b rgb(223, 217, 139) hsl(56, 57%, 71%) Khaki
#8b91df rgb(139, 145, 223) hsl(236, 57%, 71%) Cornflower Blue
#8bdfd9 rgb(139, 223, 217) hsl(176, 57%, 71%) Pale Turquoise
#d98bdf rgb(217, 139, 223) hsl(296, 57%, 71%) Violet