#797F85#797F85

#797F85 is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.3% C 0.012 H 248.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#797F85
RGBrgb(121, 127, 133)
HSLhsl(210, 5%, 50%)
HSVhsv(210, 9%, 52%)
CMYKcmyk(9%, 4.5%, 0%, 47.8%)
CIE-LABlab(52.88, -0.96, -4.02)
CIE-LCHlch(52.88, 4.13, 256.54°)
OKLaboklab(59.34% -0.0043 -0.0108)
OKLCHoklch(59.34% 0.012 248)
XYZxyz(19.7073, 20.9369, 25.1887)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F85 #857F79
analogous
#798585 #797F85 #797985
triadic
#797F85 #85797F #7F8579
tetradic
#797F85 #857985 #857F79 #798579
square
#797F85 #857985 #857F79 #798579
split-complementary
#797F85 #857979 #858579
monochromatic
#3F4245 #5C6065 #797F85 #999EA2 #B9BCBF

Accessibility & contrast

On white

4.05
#797F85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#797F85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F85
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F85#FFFFFF#000000##000000
##797F851.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F85
Deuteranopia (green-blind)
#7B7E85
Tritanopia (blue-blind)
#768081
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f85;
/* rgb */ color: rgb(121, 127, 133);
/* oklch */ color: oklch(59.3% 0.012 248.0);
Tailwind
colors: {
  custom: {
    50: '#9fa4a8',
    500: '#797f85',
    950: '#000000',
  },
}
SCSS
$custom: #797f85;
$custom-light: #9fa4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#797f85",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 133
  },
  "hsl": {
    "h": 210,
    "s": 4.724,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.01162,
    "h": 248
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#797F85
secondary
#B0ADAA
accent
#947AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797F85

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

Preview Lab → · Contrast checker → · Palette generator →

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