#7F7E70

#7f7e70 ≈ Battleship Gray

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

#7f7e70 is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 49.8% red, 49.41% green and 43.92% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 11.81% yellow and 50.2% black. Its hue angle is 56°, with 6.28% saturation and 46.86% 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 5.12:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 6.45.

Description generated from the measured properties of this color.

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

Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7e7e78 ≈ 0.001% of males
Protanopia #817d6f ≈ 1.01% of males
Deuteranopia #817e70 ≈ 1.27% of males
Tritanopia #827c7a ≈ 0.0001% of males
Protanomaly #807d70 ≈ 1.08% of males
Deuteranomaly #807e70 ≈ 4.63% of males
Tritanomaly #817d76 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f7e70 {
  color: #7f7e70;
}
Background
.bg-7f7e70 {
  background-color: #7f7e70;
  color: #000000;
}
Border
.border-7f7e70 {
  border: 2px solid #7f7e70;
}
CSS variables
:root {
  --color-primary: #7f7e70;
  --color-primary-rgb: 127 126 112;
  --color-primary-hsl: 56 6% 47%;
}
Gradient
.gradient-7f7e70 {
  background: linear-gradient(135deg, #7f7e70, #787f70);
}
Colored shadow
.shadow-7f7e70 {
  box-shadow: 0 8px 24px rgb(127 126 112 / 0.35);
}

Battleship Gray
#7f7e70  rgb(127, 126, 112)  hsl(56, 6%, 47%)  Battleship Gray
#70717f  rgb(112, 113, 127)  hsl(236, 6%, 47%)  Dim Gray
#707f7e  rgb(112, 127, 126)  hsl(176, 6%, 47%)  Xanadu
#7e707f  rgb(126, 112, 127)  hsl(296, 6%, 47%)  Old Lavender