#dfd987 ≈ Khaki
#dfd987 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 52.94% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 39.46% yellow and 12.55% black. Its hue angle is 55.91°, with 57.89% saturation and 70.2% 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.41:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.44.
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.6706 |
Shades
#dfd987 mixed progressively with black.
Tints
#dfd987 mixed progressively with white.
Tones
#dfd987 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd987 {
color: #dfd987;
}
.bg-dfd987 {
background-color: #dfd987;
color: #000000;
}
.border-dfd987 {
border: 2px solid #dfd987;
}
:root {
--color-primary: #dfd987;
--color-primary-rgb: 223 217 135;
--color-primary-hsl: 56 58% 70%;
}
.gradient-dfd987 {
background: linear-gradient(135deg, #dfd987, #b9df87);
}
.shadow-dfd987 {
box-shadow: 0 8px 24px rgb(223 217 135 / 0.35);
}
Khaki
#dfd987 rgb(223, 217, 135) hsl(56, 58%, 70%) Khaki
#878ddf rgb(135, 141, 223) hsl(236, 58%, 70%) Cornflower Blue
#87dfd9 rgb(135, 223, 217) hsl(176, 58%, 70%) Medium Turquoise
#d987df rgb(217, 135, 223) hsl(296, 58%, 70%) Violet