#798487#798487

#798487 is a mid, near-neutral grey. Relative luminance 0.223; OKLCH L 60.5% C 0.014 H 215.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#798487
RGBrgb(121, 132, 135)
HSLhsl(193, 6%, 50%)
HSVhsv(193, 10%, 53%)
CMYKcmyk(10.4%, 2.2%, 0%, 47.1%)
CIE-LABlab(54.36, -3.39, -3.00)
CIE-LCHlch(54.36, 4.52, 221.51°)
OKLaboklab(60.53% -0.0111 -0.0081)
OKLCHoklch(60.53% 0.014 215.9)
XYZxyz(20.5086, 22.3164, 26.1440)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798487 #877C79
analogous
#798783 #798487 #797D87
triadic
#798487 #877984 #848779
tetradic
#798487 #837987 #877C79 #7D8779
square
#798487 #837987 #877C79 #7D8779
split-complementary
#798487 #87797D #878379
monochromatic
#3F4546 #5C6467 #798487 #99A2A4 #BABFC1

Accessibility & contrast

On white

3.84
#798487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#798487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798487
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798487#FFFFFF#000000##000000
##7984871.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828387
Deuteranopia (green-blind)
#7F8187
Tritanopia (blue-blind)
#758585
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798487;
/* rgb */ color: rgb(121, 132, 135);
/* oklch */ color: oklch(60.5% 0.014 215.9);
Tailwind
colors: {
  custom: {
    50: '#9fa7a9',
    500: '#798487',
    950: '#000000',
  },
}
SCSS
$custom: #798487;
$custom-light: #9fa7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#798487",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 135
  },
  "hsl": {
    "h": 192.857,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.01376,
    "h": 215.9
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#798487
secondary
#B1ACAB
accent
#8579AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #798487

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

Preview Lab → · Contrast checker → · Palette generator →

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