#878C8A

#878c8a ≈ Battleship Gray

  • gray
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#878c8a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 52.94% red, 54.9% green and 54.12% blue; printed in CMYK it uses 3.57% cyan, 0% magenta, 1.43% yellow and 45.1% black. Its hue angle is 156°, with 2.13% saturation and 53.92% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 6.15:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 3.62.

Description generated from the measured properties of this color.

Conversions of #878c8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999999
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2574

Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #898b8a ≈ 0.001% of males
Protanopia #8c8b8a ≈ 1.01% of males
Deuteranopia #8b8b8a ≈ 1.27% of males
Tritanopia #868c8b ≈ 0.0001% of males
Protanomaly #8a8c8a ≈ 1.08% of males
Deuteranomaly #898b8a ≈ 4.63% of males
Tritanomaly #868c8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-878c8a {
  color: #878c8a;
}
Background
.bg-878c8a {
  background-color: #878c8a;
  color: #000000;
}
Border
.border-878c8a {
  border: 2px solid #878c8a;
}
CSS variables
:root {
  --color-primary: #878c8a;
  --color-primary-rgb: 135 140 138;
  --color-primary-hsl: 156 2% 54%;
}
Gradient
.gradient-878c8a {
  background: linear-gradient(135deg, #878c8a, #878b8c);
}
Colored shadow
.shadow-878c8a {
  box-shadow: 0 8px 24px rgb(135 140 138 / 0.35);
}

Battleship Gray
#878c8a  rgb(135, 140, 138)  hsl(156, 2%, 54%)  Battleship Gray
#8c8789  rgb(140, 135, 137)  hsl(336, 2%, 54%)  Taupe Gray
#8a878c  rgb(138, 135, 140)  hsl(276, 2%, 54%)  Taupe Gray
#8c8a87  rgb(140, 138, 135)  hsl(36, 2%, 54%)  Battleship Gray