#d6ca8a ≈ Dark Khaki
#d6ca8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.92% red, 79.22% green and 54.12% blue; printed in CMYK it uses 0% cyan, 5.61% magenta, 35.51% yellow and 16.08% black. Its hue angle is 50.53°, with 48.1% saturation and 69.02% 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.67:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.16.
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.5837 |
Shades
#d6ca8a mixed progressively with black.
Tints
#d6ca8a mixed progressively with white.
Tones
#d6ca8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d6ca8a {
color: #d6ca8a;
}
.bg-d6ca8a {
background-color: #d6ca8a;
color: #000000;
}
.border-d6ca8a {
border: 2px solid #d6ca8a;
}
:root {
--color-primary: #d6ca8a;
--color-primary-rgb: 214 202 138;
--color-primary-hsl: 51 48% 69%;
}
.gradient-d6ca8a {
background: linear-gradient(135deg, #d6ca8a, #bcd68a);
}
.shadow-d6ca8a {
box-shadow: 0 8px 24px rgb(214 202 138 / 0.35);
}
Dark Khaki
#d6ca8a rgb(214, 202, 138) hsl(51, 48%, 69%) Dark Khaki
#8a96d6 rgb(138, 150, 214) hsl(231, 48%, 69%) Wild Blue Yonder
#8ad6ca rgb(138, 214, 202) hsl(171, 48%, 69%) Medium Turquoise
#ca8ad6 rgb(202, 138, 214) hsl(291, 48%, 69%) Wisteria