#d2ca8a ≈ Dark Khaki
#d2ca8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.22% green and 54.12% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 34.29% yellow and 17.65% black. Its hue angle is 53.33°, with 44.44% saturation and 68.24% 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.56:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.75.
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.5778 |
Shades
#d2ca8a mixed progressively with black.
Tints
#d2ca8a mixed progressively with white.
Tones
#d2ca8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2ca8a {
color: #d2ca8a;
}
.bg-d2ca8a {
background-color: #d2ca8a;
color: #000000;
}
.border-d2ca8a {
border: 2px solid #d2ca8a;
}
:root {
--color-primary: #d2ca8a;
--color-primary-rgb: 210 202 138;
--color-primary-hsl: 53 44% 68%;
}
.gradient-d2ca8a {
background: linear-gradient(135deg, #d2ca8a, #b6d28a);
}
.shadow-d2ca8a {
box-shadow: 0 8px 24px rgb(210 202 138 / 0.35);
}
Dark Khaki
#d2ca8a rgb(210, 202, 138) hsl(53, 44%, 68%) Dark Khaki
#8a92d2 rgb(138, 146, 210) hsl(233, 44%, 68%) Cool Gray
#8ad2ca rgb(138, 210, 202) hsl(173, 44%, 68%) Medium Turquoise
#ca8ad2 rgb(202, 138, 210) hsl(293, 44%, 68%) Wisteria