#788A7F

#788a7f ≈ Xanadu

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

#788a7f 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, 54.12% green and 49.8% blue; printed in CMYK it uses 13.04% cyan, 0% magenta, 7.97% yellow and 45.88% black. Its hue angle is 143.33°, with 7.14% saturation and 50.59% 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.74:1 (WCAG AA). The closest named color is Xanadu (#738678), ΔE 2.14.

Description generated from the measured properties of this color.

Conversions of #788a7f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#669966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.237

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #808783 ≈ 0.001% of males
Protanopia #8a877e ≈ 1.01% of males
Deuteranopia #868580 ≈ 1.27% of males
Tritanopia #758a87 ≈ 0.0001% of males
Protanomaly #83887f ≈ 1.08% of males
Deuteranomaly #81877f ≈ 4.63% of males
Tritanomaly #768a84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-788a7f {
  color: #788a7f;
}
Background
.bg-788a7f {
  background-color: #788a7f;
  color: #000000;
}
Border
.border-788a7f {
  border: 2px solid #788a7f;
}
CSS variables
:root {
  --color-primary: #788a7f;
  --color-primary-rgb: 120 138 127;
  --color-primary-hsl: 143 7% 51%;
}
Gradient
.gradient-788a7f {
  background: linear-gradient(135deg, #788a7f, #788a88);
}
Colored shadow
.shadow-788a7f {
  box-shadow: 0 8px 24px rgb(120 138 127 / 0.35);
}

Xanadu
#788a7f  rgb(120, 138, 127)  hsl(143, 7%, 51%)  Xanadu
#8a7883  rgb(138, 120, 131)  hsl(323, 7%, 51%)  Mountbatten Pink
#7f788a  rgb(127, 120, 138)  hsl(263, 7%, 51%)  Old Lavender
#8a7f78  rgb(138, 127, 120)  hsl(23, 7%, 51%)  Battleship Gray