#787A86#787A86

#787A86 is a mid, near-neutral grey. Relative luminance 0.196; OKLCH L 58.2% C 0.018 H 278.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#787A86
RGBrgb(120, 122, 134)
HSLhsl(231, 6%, 50%)
HSVhsv(231, 10%, 53%)
CMYKcmyk(10.4%, 9%, 0%, 47.5%)
CIE-LABlab(51.42, 1.79, -6.78)
CIE-LCHlch(51.42, 7.01, 284.78°)
OKLaboklab(58.18% 0.0027 -0.0182)
OKLCHoklch(58.18% 0.018 278.3)
XYZxyz(19.0074, 19.6332, 25.3378)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A86 #868478
analogous
#788186 #787A86 #7D7886
triadic
#787A86 #86787A #7A8678
tetradic
#787A86 #867881 #868478 #78867D
square
#787A86 #867881 #868478 #78867D
split-complementary
#787A86 #867D78 #818678
monochromatic
#3E3F45 #5B5D66 #787A86 #989AA3 #B9BAC0

Accessibility & contrast

On white

4.26
#787A86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#787A86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A86
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A86#FFFFFF#000000##000000
##787A861.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#777B87
Deuteranopia (green-blind)
#767A86
Tritanopia (blue-blind)
#757C7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787a86;
/* rgb */ color: rgb(120, 122, 134);
/* oklch */ color: oklch(58.2% 0.018 278.3);
Tailwind
colors: {
  custom: {
    50: '#9fa0a9',
    500: '#787a86',
    950: '#000000',
  },
}
SCSS
$custom: #787a86;
$custom-light: #9fa0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#787a86",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 134
  },
  "hsl": {
    "h": 231.429,
    "s": 5.512,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.01841,
    "h": 278.3
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#787A86
secondary
#B0AFAA
accent
#A779AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787A86

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

Preview Lab → · Contrast checker → · Palette generator →

#787A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva