#797C7B

#797c7b ≈ Gray

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

#797c7b 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.63% green and 48.24% blue; printed in CMYK it uses 2.42% cyan, 0% magenta, 0.81% yellow and 51.37% black. Its hue angle is 160°, with 1.22% saturation and 48.04% 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.98:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 2.63.

Description generated from the measured properties of this color.

Conversions of #797c7b 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.1991

Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #7a7c7b ≈ 0.001% of males
Protanopia #7c7c7b ≈ 1.01% of males
Deuteranopia #7b7b7b ≈ 1.27% of males
Tritanopia #787c7c ≈ 0.0001% of males
Protanomaly #7b7c7b ≈ 1.08% of males
Deuteranomaly #7a7b7b ≈ 4.63% of males
Tritanomaly #797c7b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#797c7b  rgb(121, 124, 123)  hsl(160, 1%, 48%)  Gray
#7c797a  rgb(124, 121, 122)  hsl(340, 1%, 48%)  Gray
#7b797c  rgb(123, 121, 124)  hsl(280, 1%, 48%)  Gray
#7c7b79  rgb(124, 123, 121)  hsl(40, 1%, 48%)  Gray