#797F83#797F83

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

Color values

HEX#797F83
RGBrgb(121, 127, 131)
HSLhsl(204, 4%, 49%)
HSVhsv(204, 8%, 51%)
CMYKcmyk(7.6%, 3.1%, 0%, 48.6%)
CIE-LABlab(52.82, -1.39, -2.94)
CIE-LCHlch(52.82, 3.25, 244.69°)
OKLaboklab(59.27% -0.0052 -0.0079)
OKLCHoklch(59.27% 0.009 236.6)
XYZxyz(19.5704, 20.8822, 24.4679)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F83 #837D79
analogous
#798382 #797F83 #797A83
triadic
#797F83 #83797F #7F8379
tetradic
#797F83 #827983 #837D79 #7A8379
square
#797F83 #827983 #837D79 #7A8379
split-complementary
#797F83 #83797A #838279
monochromatic
#3E4143 #5C6063 #797F83 #999DA1 #B9BCBE

Accessibility & contrast

On white

4.06
#797F83 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#797F83 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F83
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F83#FFFFFF#000000##000000
##797F831.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F83
Deuteranopia (green-blind)
#7C7E83
Tritanopia (blue-blind)
#778080
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f83;
/* rgb */ color: rgb(121, 127, 131);
/* oklch */ color: oklch(59.3% 0.009 236.6);
Tailwind
colors: {
  custom: {
    50: '#9fa4a7',
    500: '#797f83',
    950: '#000000',
  },
}
SCSS
$custom: #797f83;
$custom-light: #9fa4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#797f83",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 131
  },
  "hsl": {
    "h": 204,
    "s": 3.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.00942,
    "h": 236.6
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#797F83
secondary
#AEABAA
accent
#8F7BAD
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797F83

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

Preview Lab → · Contrast checker → · Palette generator →

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