#817F79

#817f79 ≈ Battleship Gray

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

#817f79 is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 50.59% red, 49.8% green and 47.45% blue; printed in CMYK it uses 0% cyan, 1.55% magenta, 6.2% yellow and 49.41% black. Its hue angle is 45°, with 3.2% saturation and 49.02% 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.25:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 2.87.

Description generated from the measured properties of this color.

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

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #807f7d ≈ 0.001% of males
Protanopia #807f79 ≈ 1.01% of males
Deuteranopia #817f79 ≈ 1.27% of males
Tritanopia #837e7d ≈ 0.0001% of males
Protanomaly #817f79 ≈ 1.08% of males
Deuteranomaly #817f79 ≈ 4.63% of males
Tritanomaly #827e7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-817f79 {
  color: #817f79;
}
Background
.bg-817f79 {
  background-color: #817f79;
  color: #000000;
}
Border
.border-817f79 {
  border: 2px solid #817f79;
}
CSS variables
:root {
  --color-primary: #817f79;
  --color-primary-rgb: 129 127 121;
  --color-primary-hsl: 45 3% 49%;
}
Gradient
.gradient-817f79 {
  background: linear-gradient(135deg, #817f79, #7f8179);
}
Colored shadow
.shadow-817f79 {
  box-shadow: 0 8px 24px rgb(129 127 121 / 0.35);
}

Battleship Gray
#817f79  rgb(129, 127, 121)  hsl(45, 3%, 49%)  Battleship Gray
#797b81  rgb(121, 123, 129)  hsl(225, 3%, 49%)  Gray
#79817f  rgb(121, 129, 127)  hsl(165, 3%, 49%)  Battleship Gray
#7f7981  rgb(127, 121, 129)  hsl(285, 3%, 49%)  Taupe Gray