#d2cd8b ≈ Dark Khaki
#d2cd8b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 54.51% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 33.81% yellow and 17.65% black. Its hue angle is 55.77°, with 44.1% saturation and 68.43% 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.85:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.12.
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.5923 |
Shades
#d2cd8b mixed progressively with black.
Tints
#d2cd8b mixed progressively with white.
Tones
#d2cd8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd8b {
color: #d2cd8b;
}
.bg-d2cd8b {
background-color: #d2cd8b;
color: #000000;
}
.border-d2cd8b {
border: 2px solid #d2cd8b;
}
:root {
--color-primary: #d2cd8b;
--color-primary-rgb: 210 205 139;
--color-primary-hsl: 56 44% 68%;
}
.gradient-d2cd8b {
background: linear-gradient(135deg, #d2cd8b, #b4d28b);
}
.shadow-d2cd8b {
box-shadow: 0 8px 24px rgb(210 205 139 / 0.35);
}
Dark Khaki
#d2cd8b rgb(210, 205, 139) hsl(56, 44%, 68%) Dark Khaki
#8b90d2 rgb(139, 144, 210) hsl(236, 44%, 68%) Cool Gray
#8bd2cd rgb(139, 210, 205) hsl(176, 44%, 68%) Medium Turquoise
#cd8bd2 rgb(205, 139, 210) hsl(296, 44%, 68%) Plum