#d0c87f ≈ Dark Khaki
#d0c87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.57% red, 78.43% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.85% magenta, 38.94% yellow and 18.43% black. Its hue angle is 54.07°, with 46.29% saturation and 65.69% 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 12.25:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.65.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5625 |
Shades
#d0c87f mixed progressively with black.
Tints
#d0c87f mixed progressively with white.
Tones
#d0c87f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d0c87f {
color: #d0c87f;
}
.bg-d0c87f {
background-color: #d0c87f;
color: #000000;
}
.border-d0c87f {
border: 2px solid #d0c87f;
}
:root {
--color-primary: #d0c87f;
--color-primary-rgb: 208 200 127;
--color-primary-hsl: 54 46% 66%;
}
.gradient-d0c87f {
background: linear-gradient(135deg, #d0c87f, #b0d07f);
}
.shadow-d0c87f {
box-shadow: 0 8px 24px rgb(208 200 127 / 0.35);
}
Dark Khaki
#d0c87f rgb(208, 200, 127) hsl(54, 46%, 66%) Dark Khaki
#7f87d0 rgb(127, 135, 208) hsl(234, 46%, 66%) Glaucous
#7fd0c8 rgb(127, 208, 200) hsl(174, 46%, 66%) Medium Turquoise
#c87fd0 rgb(200, 127, 208) hsl(294, 46%, 66%) Orchid