#a8a162 ≈ Dark Khaki
#a8a162 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 63.14% green and 38.43% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 41.67% yellow and 34.12% black. Its hue angle is 54°, with 28.69% saturation and 52.16% 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 7.94:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 6.54.
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.347 |
Shades
#a8a162 mixed progressively with black.
Tints
#a8a162 mixed progressively with white.
Tones
#a8a162 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a162 {
color: #a8a162;
}
.bg-a8a162 {
background-color: #a8a162;
color: #000000;
}
.border-a8a162 {
border: 2px solid #a8a162;
}
:root {
--color-primary: #a8a162;
--color-primary-rgb: 168 161 98;
--color-primary-hsl: 54 29% 52%;
}
.gradient-a8a162 {
background: linear-gradient(135deg, #a8a162, #8ca862);
}
.shadow-a8a162 {
box-shadow: 0 8px 24px rgb(168 161 98 / 0.35);
}
Dark Khaki
#a8a162 rgb(168, 161, 98) hsl(54, 29%, 52%) Dark Khaki
#6269a8 rgb(98, 105, 168) hsl(234, 29%, 52%) Slate Blue
#62a8a1 rgb(98, 168, 161) hsl(174, 29%, 52%) Verdigris
#a162a8 rgb(161, 98, 168) hsl(294, 29%, 52%) Purpureus