#798787#798787

#798787 is a mid, near-neutral grey. Relative luminance 0.231; OKLCH L 61.2% C 0.016 H 196.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#798787
RGBrgb(121, 135, 135)
HSLhsl(180, 6%, 50%)
HSVhsv(180, 10%, 53%)
CMYKcmyk(10.4%, 0%, 0%, 47.1%)
CIE-LABlab(55.22, -5.08, -1.74)
CIE-LCHlch(55.22, 5.37, 198.86°)
OKLaboklab(61.2% -0.0157 -0.0047)
OKLCHoklch(61.2% 0.016 196.7)
XYZxyz(20.9213, 23.1418, 26.2815)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798787 #877979
analogous
#798780 #798787 #798087
triadic
#798787 #877987 #878779
tetradic
#798787 #807987 #877979 #808779
square
#798787 #807987 #877979 #808779
split-complementary
#798787 #877980 #878079
monochromatic
#3F4646 #5C6767 #798787 #99A4A4 #BAC1C1

Accessibility & contrast

On white

3.73
#798787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#798787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798787
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798787#FFFFFF#000000##000000
##7987871.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858587
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#758887
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798787;
/* rgb */ color: rgb(121, 135, 135);
/* oklch */ color: oklch(61.2% 0.016 196.7);
Tailwind
colors: {
  custom: {
    50: '#9faaa9',
    500: '#798787',
    950: '#000000',
  },
}
SCSS
$custom: #798787;
$custom-light: #9faaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#798787",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.01636,
    "h": 196.7
  },
  "luminance": 0.23142
}

Semantic roles & 50–950 ramp

primary
#798787
secondary
#B1ABAB
accent
#7979AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E1010
muted
#7E7F7F

Preview Lab

Preview with #798787

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

Preview Lab → · Contrast checker → · Palette generator →

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