#8A8161

#8a8161 ≈ Battleship Gray

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#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.

Conversions of #8a8161 into other color spaces
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 luminance0.2197

Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #858176 ≈ 0.001% of males
Protanopia #887f5f ≈ 1.01% of males
Deuteranopia #8a8262 ≈ 1.27% of males
Tritanopia #907c78 ≈ 0.0001% of males
Protanomaly #898060 ≈ 1.08% of males
Deuteranomaly #8a8262 ≈ 4.63% of males
Tritanomaly #8e7e70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8161 {
  color: #8a8161;
}
Background
.bg-8a8161 {
  background-color: #8a8161;
  color: #000000;
}
Border
.border-8a8161 {
  border: 2px solid #8a8161;
}
CSS variables
:root {
  --color-primary: #8a8161;
  --color-primary-rgb: 138 129 97;
  --color-primary-hsl: 47 17% 46%;
}
Gradient
.gradient-8a8161 {
  background: linear-gradient(135deg, #8a8161, #7f8a61);
}
Colored shadow
.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