#8A8166

#8a8166 ≈ Battleship Gray

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

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

Conversions of #8a8166 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.2206

Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #858177 ≈ 0.001% of males
Protanopia #878064 ≈ 1.01% of males
Deuteranopia #898367 ≈ 1.27% of males
Tritanopia #907d7a ≈ 0.0001% of males
Protanomaly #888065 ≈ 1.08% of males
Deuteranomaly #8a8266 ≈ 4.63% of males
Tritanomaly #8e7e72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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