#8a8161 ≈ Battleship Gray
#8a8161 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 50.59% green and 38.04% blue; printed in CMYK it uses 0% cyan, 6.52% magenta, 29.71% yellow and 45.88% black. Its hue angle is 46.83°, with 17.45% saturation and 46.08% 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 5.39:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 12.26.
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.2197 |
Shades
#8a8161 mixed progressively with black.
Tints
#8a8161 mixed progressively with white.
Tones
#8a8161 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8161 {
color: #8a8161;
}
.bg-8a8161 {
background-color: #8a8161;
color: #000000;
}
.border-8a8161 {
border: 2px solid #8a8161;
}
:root {
--color-primary: #8a8161;
--color-primary-rgb: 138 129 97;
--color-primary-hsl: 47 17% 46%;
}
.gradient-8a8161 {
background: linear-gradient(135deg, #8a8161, #7f8a61);
}
.shadow-8a8161 {
box-shadow: 0 8px 24px rgb(138 129 97 / 0.35);
}
Battleship Gray
#8a8161 rgb(138, 129, 97) hsl(47, 17%, 46%) Battleship Gray
#616a8a rgb(97, 106, 138) hsl(227, 17%, 46%) Queen Blue
#618a81 rgb(97, 138, 129) hsl(167, 17%, 46%) Xanadu
#81618a rgb(129, 97, 138) hsl(287, 17%, 46%) Old Lavender