#8a866c ≈ Battleship Gray
#8a866c is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 52.55% green and 42.35% blue; printed in CMYK it uses 0% cyan, 2.9% magenta, 21.74% yellow and 45.88% black. Its hue angle is 52°, with 12.2% saturation and 48.24% 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.71:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 10.28.
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.2354 |
Shades
#8a866c mixed progressively with black.
Tints
#8a866c mixed progressively with white.
Tones
#8a866c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a866c {
color: #8a866c;
}
.bg-8a866c {
background-color: #8a866c;
color: #000000;
}
.border-8a866c {
border: 2px solid #8a866c;
}
:root {
--color-primary: #8a866c;
--color-primary-rgb: 138 134 108;
--color-primary-hsl: 52 12% 48%;
}
.gradient-8a866c {
background: linear-gradient(135deg, #8a866c, #7f8a6c);
}
.shadow-8a866c {
box-shadow: 0 8px 24px rgb(138 134 108 / 0.35);
}
Battleship Gray
#8a866c rgb(138, 134, 108) hsl(52, 12%, 48%) Battleship Gray
#6c708a rgb(108, 112, 138) hsl(232, 12%, 48%) Old Lavender
#6c8a86 rgb(108, 138, 134) hsl(172, 12%, 48%) Xanadu
#866c8a rgb(134, 108, 138) hsl(292, 12%, 48%) Old Lavender