#787A7A

#787a7a ≈ Gray

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

#787a7a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.06% red, 47.84% green and 47.84% blue; printed in CMYK it uses 1.64% cyan, 0% magenta, 0% yellow and 52.16% black. Its hue angle is 180°, with 0.83% saturation and 47.45% 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.86:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #787a7a 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.1932

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #797a7a ≈ 0.001% of males
Protanopia #7a7a7a ≈ 1.01% of males
Deuteranopia #79797a ≈ 1.27% of males
Tritanopia #777a7a ≈ 0.0001% of males
Protanomaly #797a7a ≈ 1.08% of males
Deuteranomaly #797a7a ≈ 4.63% of males
Tritanomaly #787a7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787a7a {
  color: #787a7a;
}
Background
.bg-787a7a {
  background-color: #787a7a;
  color: #000000;
}
Border
.border-787a7a {
  border: 2px solid #787a7a;
}
CSS variables
:root {
  --color-primary: #787a7a;
  --color-primary-rgb: 120 122 122;
  --color-primary-hsl: 180 1% 47%;
}
Gradient
.gradient-787a7a {
  background: linear-gradient(135deg, #787a7a, #78797a);
}
Colored shadow
.shadow-787a7a {
  box-shadow: 0 8px 24px rgb(120 122 122 / 0.35);
}

Gray
#787a7a  rgb(120, 122, 122)  hsl(180, 1%, 47%)  Gray
#7a7878  rgb(122, 120, 120)  hsl(0, 1%, 47%)  Gray
#7a787a  rgb(122, 120, 122)  hsl(300, 1%, 47%)  Gray
#7a7a78  rgb(122, 122, 120)  hsl(60, 1%, 47%)  Gray