#7C817C

#7c817c ≈ Battleship Gray

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

#7c817c is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 48.63% red, 50.59% green and 48.63% blue; printed in CMYK it uses 3.88% cyan, 0% magenta, 3.88% yellow and 49.41% black. Its hue angle is 120°, with 1.98% saturation and 49.61% 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.29:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 3.77.

Description generated from the measured properties of this color.

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

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #7e807e ≈ 0.001% of males
Protanopia #81807c ≈ 1.01% of males
Deuteranopia #807f7c ≈ 1.27% of males
Tritanopia #7c817f ≈ 0.0001% of males
Protanomaly #7f807c ≈ 1.08% of males
Deuteranomaly #7f807c ≈ 4.63% of males
Tritanomaly #7c817e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c817c {
  color: #7c817c;
}
Background
.bg-7c817c {
  background-color: #7c817c;
  color: #000000;
}
Border
.border-7c817c {
  border: 2px solid #7c817c;
}
CSS variables
:root {
  --color-primary: #7c817c;
  --color-primary-rgb: 124 129 124;
  --color-primary-hsl: 120 2% 50%;
}
Gradient
.gradient-7c817c {
  background: linear-gradient(135deg, #7c817c, #7c817f);
}
Colored shadow
.shadow-7c817c {
  box-shadow: 0 8px 24px rgb(124 129 124 / 0.35);
}

Battleship Gray
#7c817c  rgb(124, 129, 124)  hsl(120, 2%, 50%)  Battleship Gray
#817c81  rgb(129, 124, 129)  hsl(300, 2%, 50%)  Taupe Gray
#7c7c81  rgb(124, 124, 129)  hsl(240, 2%, 50%)  Gray
#817c7c  rgb(129, 124, 124)  hsl(0, 2%, 50%)  Gray