#797E79

#797e79 ≈ Battleship Gray

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

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

Description generated from the measured properties of this color.

Conversions of #797e79 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.2037

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7b7d7b ≈ 0.001% of males
Protanopia #7e7d79 ≈ 1.01% of males
Deuteranopia #7d7c79 ≈ 1.27% of males
Tritanopia #797e7c ≈ 0.0001% of males
Protanomaly #7c7d79 ≈ 1.08% of males
Deuteranomaly #7c7d79 ≈ 4.63% of males
Tritanomaly #797e7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797e79 {
  color: #797e79;
}
Background
.bg-797e79 {
  background-color: #797e79;
  color: #000000;
}
Border
.border-797e79 {
  border: 2px solid #797e79;
}
CSS variables
:root {
  --color-primary: #797e79;
  --color-primary-rgb: 121 126 121;
  --color-primary-hsl: 120 2% 48%;
}
Gradient
.gradient-797e79 {
  background: linear-gradient(135deg, #797e79, #797e7b);
}
Colored shadow
.shadow-797e79 {
  box-shadow: 0 8px 24px rgb(121 126 121 / 0.35);
}

Battleship Gray
#797e79  rgb(121, 126, 121)  hsl(120, 2%, 48%)  Battleship Gray
#7e797e  rgb(126, 121, 126)  hsl(300, 2%, 48%)  Taupe Gray
#79797e  rgb(121, 121, 126)  hsl(240, 2%, 48%)  Gray
#7e7979  rgb(126, 121, 121)  hsl(0, 2%, 48%)  Gray