#797D7A

#797d7a ≈ Gray

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

#797d7a 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.02% green and 47.84% blue; printed in CMYK it uses 3.2% cyan, 0% magenta, 2.4% yellow and 50.98% black. Its hue angle is 135°, with 1.63% saturation and 48.24% 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.03:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 3.48.

Description generated from the measured properties of this color.

Conversions of #797d7a 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.2014

Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #7b7c7b ≈ 0.001% of males
Protanopia #7d7c7a ≈ 1.01% of males
Deuteranopia #7c7c7a ≈ 1.27% of males
Tritanopia #797d7c ≈ 0.0001% of males
Protanomaly #7b7d7a ≈ 1.08% of males
Deuteranomaly #7b7c7a ≈ 4.63% of males
Tritanomaly #797d7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#797d7a  rgb(121, 125, 122)  hsl(135, 2%, 48%)  Gray
#7d797c  rgb(125, 121, 124)  hsl(315, 2%, 48%)  Gray
#7a797d  rgb(122, 121, 125)  hsl(255, 2%, 48%)  Gray
#7d7a79  rgb(125, 122, 121)  hsl(15, 2%, 48%)  Gray