#dfd989 ≈ Khaki
#dfd989 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 53.73% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 38.57% yellow and 12.55% black. Its hue angle is 55.81°, with 57.33% saturation and 70.59% 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.42:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.56.
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.6712 |
Shades
#dfd989 mixed progressively with black.
Tints
#dfd989 mixed progressively with white.
Tones
#dfd989 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd989 {
color: #dfd989;
}
.bg-dfd989 {
background-color: #dfd989;
color: #000000;
}
.border-dfd989 {
border: 2px solid #dfd989;
}
:root {
--color-primary: #dfd989;
--color-primary-rgb: 223 217 137;
--color-primary-hsl: 56 57% 71%;
}
.gradient-dfd989 {
background: linear-gradient(135deg, #dfd989, #badf89);
}
.shadow-dfd989 {
box-shadow: 0 8px 24px rgb(223 217 137 / 0.35);
}
Khaki
#dfd989 rgb(223, 217, 137) hsl(56, 57%, 71%) Khaki
#898fdf rgb(137, 143, 223) hsl(236, 57%, 71%) Cornflower Blue
#89dfd9 rgb(137, 223, 217) hsl(176, 57%, 71%) Pale Turquoise
#d989df rgb(217, 137, 223) hsl(296, 57%, 71%) Violet