#8a8166 ≈ Battleship Gray
#8a8166 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 40% blue; printed in CMYK it uses 0% cyan, 6.52% magenta, 26.09% yellow and 45.88% black. Its hue angle is 45°, with 15% saturation and 47.06% 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.41:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 10.8.
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.2206 |
Shades
#8a8166 mixed progressively with black.
Tints
#8a8166 mixed progressively with white.
Tones
#8a8166 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a8166 {
color: #8a8166;
}
.bg-8a8166 {
background-color: #8a8166;
color: #000000;
}
.border-8a8166 {
border: 2px solid #8a8166;
}
:root {
--color-primary: #8a8166;
--color-primary-rgb: 138 129 102;
--color-primary-hsl: 45 15% 47%;
}
.gradient-8a8166 {
background: linear-gradient(135deg, #8a8166, #818a66);
}
.shadow-8a8166 {
box-shadow: 0 8px 24px rgb(138 129 102 / 0.35);
}
Battleship Gray
#8a8166 rgb(138, 129, 102) hsl(45, 15%, 47%) Battleship Gray
#666f8a rgb(102, 111, 138) hsl(225, 15%, 47%) Slate Gray
#668a81 rgb(102, 138, 129) hsl(165, 15%, 47%) Xanadu
#81668a rgb(129, 102, 138) hsl(285, 15%, 47%) Old Lavender