#7C797B

#7c797b ≈ Gray

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

#7c797b is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 48.63% red, 47.45% green and 48.24% blue; printed in CMYK it uses 0% cyan, 2.42% magenta, 0.81% yellow and 51.37% black. Its hue angle is 320°, 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.88:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 3.31.

Description generated from the measured properties of this color.

Conversions of #7c797b 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.1939

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #7b797a ≈ 0.001% of males
Protanopia #797a7b ≈ 1.01% of males
Deuteranopia #7a7a7b ≈ 1.27% of males
Tritanopia #7c797a ≈ 0.0001% of males
Protanomaly #7a797b ≈ 1.08% of males
Deuteranomaly #7b7a7b ≈ 4.63% of males
Tritanomaly #7c797a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#7c797b  rgb(124, 121, 123)  hsl(320, 1%, 48%)  Gray
#797c7a  rgb(121, 124, 122)  hsl(140, 1%, 48%)  Gray
#7b7c79  rgb(123, 124, 121)  hsl(80, 1%, 48%)  Gray
#797b7c  rgb(121, 123, 124)  hsl(200, 1%, 48%)  Gray