#787E7B

#787e7b ≈ Gray

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

#787e7b 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, 49.41% green and 48.24% blue; printed in CMYK it uses 4.76% cyan, 0% magenta, 2.38% yellow and 50.59% black. Its hue angle is 150°, with 2.44% saturation and 48.24% 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.07:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 4.18.

Description generated from the measured properties of this color.

Conversions of #787e7b 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.2034

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7b7d7c ≈ 0.001% of males
Protanopia #7e7d7b ≈ 1.01% of males
Deuteranopia #7d7c7b ≈ 1.27% of males
Tritanopia #777e7d ≈ 0.0001% of males
Protanomaly #7b7d7b ≈ 1.08% of males
Deuteranomaly #7b7d7b ≈ 4.63% of males
Tritanomaly #777e7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gray
#787e7b  rgb(120, 126, 123)  hsl(150, 2%, 48%)  Gray
#7e787b  rgb(126, 120, 123)  hsl(330, 2%, 48%)  Gray
#7b787e  rgb(123, 120, 126)  hsl(270, 2%, 48%)  Gray
#7e7b78  rgb(126, 123, 120)  hsl(30, 2%, 48%)  Gray