#798985#798985

#798985 is a mid, near-neutral grey. Relative luminance 0.236; OKLCH L 61.6% C 0.020 H 178.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#798985
RGBrgb(121, 137, 133)
HSLhsl(165, 6%, 51%)
HSVhsv(165, 12%, 54%)
CMYKcmyk(11.7%, 0%, 2.9%, 46.3%)
CIE-LABlab(55.73, -6.63, 0.18)
CIE-LCHlch(55.73, 6.63, 178.49°)
OKLaboklab(61.59% -0.0195 0.0004)
OKLCHoklch(61.59% 0.02 178.9)
XYZxyz(21.0635, 23.6493, 25.6408)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798985 #89797D
analogous
#79897D #798985 #798589
triadic
#798985 #857989 #898579
tetradic
#798985 #7D7989 #89797D #858979
square
#798985 #7D7989 #89797D #858979
split-complementary
#798985 #897985 #897D79
monochromatic
#3F4846 #5C6966 #798985 #9AA6A3 #BAC2C0

Accessibility & contrast

On white

3.66
#798985 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#798985 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798985
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798985#FFFFFF#000000##000000
##7989851.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#888785
Deuteranopia (green-blind)
#848585
Tritanopia (blue-blind)
#758A88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798985;
/* rgb */ color: rgb(121, 137, 133);
/* oklch */ color: oklch(61.6% 0.020 178.9);
Tailwind
colors: {
  custom: {
    50: '#9faba8',
    500: '#798985',
    950: '#000000',
  },
}
SCSS
$custom: #798985;
$custom-light: #9faba8;
$custom-dark: #000000;
JSON
{
  "hex": "#798985",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 133
  },
  "hsl": {
    "h": 165,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.01952,
    "h": 178.9
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#798985
secondary
#B2ABAD
accent
#7886AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E100F
muted
#7E7F7F

Preview Lab

Preview with #798985

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

Preview Lab → · Contrast checker → · Palette generator →

#798985 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva