#787E86#787E86

#787E86 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.1% C 0.014 H 255.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#787E86
RGBrgb(120, 126, 134)
HSLhsl(214, 6%, 50%)
HSVhsv(214, 10%, 53%)
CMYKcmyk(10.4%, 6%, 0%, 47.5%)
CIE-LABlab(52.55, -0.53, -5.10)
CIE-LCHlch(52.55, 5.13, 264.09°)
OKLaboklab(59.07% -0.0035 -0.0137)
OKLCHoklch(59.07% 0.014 255.6)
XYZxyz(19.5087, 20.6358, 25.5049)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E86 #868078
analogous
#788586 #787E86 #797886
triadic
#787E86 #86787E #7E8678
tetradic
#787E86 #867885 #868078 #788679
square
#787E86 #867885 #868078 #788679
split-complementary
#787E86 #867978 #858678
monochromatic
#3E4145 #5B6066 #787E86 #989DA3 #B9BCC0

Accessibility & contrast

On white

4.10
#787E86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#787E86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E86
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E86#FFFFFF#000000##000000
##787E861.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7E86
Deuteranopia (green-blind)
#7A7D86
Tritanopia (blue-blind)
#758080
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787e86;
/* rgb */ color: rgb(120, 126, 134);
/* oklch */ color: oklch(59.1% 0.014 255.6);
Tailwind
colors: {
  custom: {
    50: '#9fa3a9',
    500: '#787e86',
    950: '#000000',
  },
}
SCSS
$custom: #787e86;
$custom-light: #9fa3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#787e86",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 134
  },
  "hsl": {
    "h": 214.286,
    "s": 5.512,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.01415,
    "h": 255.6
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#787E86
secondary
#B0ADAA
accent
#9879AF
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #787E86

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

Preview Lab → · Contrast checker → · Palette generator →

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