#8A866C

#8a866c ≈ Battleship Gray

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

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

Conversions of #8a866c 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.2354

Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #87867c ≈ 0.001% of males
Protanopia #8b846a ≈ 1.01% of males
Deuteranopia #8d866d ≈ 1.27% of males
Tritanopia #8f827f ≈ 0.0001% of males
Protanomaly #8b856b ≈ 1.08% of males
Deuteranomaly #8c866d ≈ 4.63% of males
Tritanomaly #8d8478 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a866c {
  color: #8a866c;
}
Background
.bg-8a866c {
  background-color: #8a866c;
  color: #000000;
}
Border
.border-8a866c {
  border: 2px solid #8a866c;
}
CSS variables
:root {
  --color-primary: #8a866c;
  --color-primary-rgb: 138 134 108;
  --color-primary-hsl: 52 12% 48%;
}
Gradient
.gradient-8a866c {
  background: linear-gradient(135deg, #8a866c, #7f8a6c);
}
Colored shadow
.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