#a8a86c ≈ Dark Khaki
#a8a86c is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 65.88% red, 65.88% green and 42.35% blue; printed in CMYK it uses 0% cyan, 0% magenta, 35.71% yellow and 34.12% black. Its hue angle is 60°, with 25.64% saturation and 54.12% 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 8.48:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.67.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3741 |
Shades
#a8a86c mixed progressively with black.
Tints
#a8a86c mixed progressively with white.
Tones
#a8a86c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a86c {
color: #a8a86c;
}
.bg-a8a86c {
background-color: #a8a86c;
color: #000000;
}
.border-a8a86c {
border: 2px solid #a8a86c;
}
:root {
--color-primary: #a8a86c;
--color-primary-rgb: 168 168 108;
--color-primary-hsl: 60 26% 54%;
}
.gradient-a8a86c {
background: linear-gradient(135deg, #a8a86c, #8aa86c);
}
.shadow-a8a86c {
box-shadow: 0 8px 24px rgb(168 168 108 / 0.35);
}
Dark Khaki
#a8a86c rgb(168, 168, 108) hsl(60, 26%, 54%) Dark Khaki
#6c6ca8 rgb(108, 108, 168) hsl(240, 26%, 54%) Slate Blue
#6ca8a8 rgb(108, 168, 168) hsl(180, 26%, 54%) Cadet Blue
#a86ca8 rgb(168, 108, 168) hsl(300, 26%, 54%) Purple Mountain Majesty