#797B7A

#797b7a ≈ Gray

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

#797b7a 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, 48.24% green and 47.84% blue; printed in CMYK it uses 1.63% cyan, 0% magenta, 0.81% yellow and 51.76% black. Its hue angle is 150°, with 0.82% saturation and 47.84% 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 4.93:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #797b7a 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.1964

Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #7a7b7a ≈ 0.001% of males
Protanopia #7b7b7a ≈ 1.01% of males
Deuteranopia #7a7a7a ≈ 1.27% of males
Tritanopia #797b7b ≈ 0.0001% of males
Protanomaly #7a7b7a ≈ 1.08% of males
Deuteranomaly #7a7b7a ≈ 4.63% of males
Tritanomaly #797b7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#797b7a  rgb(121, 123, 122)  hsl(150, 1%, 48%)  Gray
#7b797a  rgb(123, 121, 122)  hsl(330, 1%, 48%)  Gray
#7a797b  rgb(122, 121, 123)  hsl(270, 1%, 48%)  Gray
#7b7a79  rgb(123, 122, 121)  hsl(30, 1%, 48%)  Gray