#797E85#797E85

#797E85 is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.1% C 0.012 H 256.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#797E85
RGBrgb(121, 126, 133)
HSLhsl(215, 5%, 50%)
HSVhsv(215, 9%, 52%)
CMYKcmyk(9%, 5.3%, 0%, 47.8%)
CIE-LABlab(52.60, -0.39, -4.43)
CIE-LCHlch(52.60, 4.45, 265.03°)
OKLaboklab(59.12% -0.0028 -0.0119)
OKLCHoklch(59.12% 0.012 256.7)
XYZxyz(19.5788, 20.6799, 25.1459)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E85 #858079
analogous
#798485 #797E85 #7A7985
triadic
#797E85 #85797E #7E8579
tetradic
#797E85 #857984 #858079 #79857A
square
#797E85 #857984 #858079 #79857A
split-complementary
#797E85 #857A79 #848579
monochromatic
#3F4145 #5C6065 #797E85 #999DA2 #B9BCBF

Accessibility & contrast

On white

4.09
#797E85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#797E85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E85
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E85#FFFFFF#000000##000000
##797E851.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E85
Deuteranopia (green-blind)
#7A7D85
Tritanopia (blue-blind)
#767F80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e85;
/* rgb */ color: rgb(121, 126, 133);
/* oklch */ color: oklch(59.1% 0.012 256.7);
Tailwind
colors: {
  custom: {
    50: '#9fa3a8',
    500: '#797e85',
    950: '#000000',
  },
}
SCSS
$custom: #797e85;
$custom-light: #9fa3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#797e85",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 133
  },
  "hsl": {
    "h": 215,
    "s": 4.724,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.01222,
    "h": 256.7
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#797E85
secondary
#B0ADAA
accent
#987AAE
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E85

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#797E85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva