#797E7D

#797e7d ≈ Gray

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

#797e7d 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 49.02% blue; printed in CMYK it uses 3.97% cyan, 0% magenta, 0.79% yellow and 50.59% black. Its hue angle is 168°, 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.09:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 3.14.

Description generated from the measured properties of this color.

Conversions of #797e7d 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.2047

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7b7d7d ≈ 0.001% of males
Protanopia #7d7d7d ≈ 1.01% of males
Deuteranopia #7c7d7d ≈ 1.27% of males
Tritanopia #787e7e ≈ 0.0001% of males
Protanomaly #7c7e7d ≈ 1.08% of males
Deuteranomaly #7b7d7d ≈ 4.63% of males
Tritanomaly #787e7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#797e7d  rgb(121, 126, 125)  hsl(168, 2%, 48%)  Gray
#7e797a  rgb(126, 121, 122)  hsl(348, 2%, 48%)  Gray
#7d797e  rgb(125, 121, 126)  hsl(288, 2%, 48%)  Gray
#7e7d79  rgb(126, 125, 121)  hsl(48, 2%, 48%)  Gray