#798A8A

#798a8a ≈ Xanadu

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

#798a8a 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, 54.12% green and 54.12% blue; printed in CMYK it uses 12.32% cyan, 0% magenta, 0% yellow and 45.88% black. Its hue angle is 180°, with 6.77% saturation and 50.78% 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.82:1 (WCAG AA). The closest named color is Xanadu (#738678), ΔE 7.19.

Description generated from the measured properties of this color.

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

Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #818888 ≈ 0.001% of males
Protanopia #88888a ≈ 1.01% of males
Deuteranopia #84868a ≈ 1.27% of males
Tritanopia #748b8a ≈ 0.0001% of males
Protanomaly #82898a ≈ 1.08% of males
Deuteranomaly #80878a ≈ 4.63% of males
Tritanomaly #768b8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-798a8a {
  color: #798a8a;
}
Background
.bg-798a8a {
  background-color: #798a8a;
  color: #000000;
}
Border
.border-798a8a {
  border: 2px solid #798a8a;
}
CSS variables
:root {
  --color-primary: #798a8a;
  --color-primary-rgb: 121 138 138;
  --color-primary-hsl: 180 7% 51%;
}
Gradient
.gradient-798a8a {
  background: linear-gradient(135deg, #798a8a, #79818a);
}
Colored shadow
.shadow-798a8a {
  box-shadow: 0 8px 24px rgb(121 138 138 / 0.35);
}

Xanadu
#798a8a  rgb(121, 138, 138)  hsl(180, 7%, 51%)  Xanadu
#8a7979  rgb(138, 121, 121)  hsl(0, 7%, 51%)  Taupe Gray
#8a798a  rgb(138, 121, 138)  hsl(300, 7%, 51%)  Mountbatten Pink
#8a8a79  rgb(138, 138, 121)  hsl(60, 7%, 51%)  Battleship Gray