#787C86#787C86

#787C86 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.6% C 0.016 H 268.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#787C86
RGBrgb(120, 124, 134)
HSLhsl(223, 6%, 50%)
HSVhsv(223, 10%, 53%)
CMYKcmyk(10.4%, 7.5%, 0%, 47.5%)
CIE-LABlab(51.98, 0.63, -5.94)
CIE-LCHlch(51.98, 5.97, 276.03°)
OKLaboklab(58.63% -0.0004 -0.016)
OKLCHoklch(58.63% 0.016 268.4)
XYZxyz(19.2555, 20.1294, 25.4205)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C86 #868278
analogous
#788386 #787C86 #7B7886
triadic
#787C86 #86787C #7C8678
tetradic
#787C86 #867883 #868278 #78867B
square
#787C86 #867883 #868278 #78867B
split-complementary
#787C86 #867B78 #838678
monochromatic
#3E4045 #5B5E66 #787C86 #989BA3 #B9BBC0

Accessibility & contrast

On white

4.18
#787C86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#787C86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C86
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C86#FFFFFF#000000##000000
##787C861.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#797D87
Deuteranopia (green-blind)
#787B86
Tritanopia (blue-blind)
#757E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787c86;
/* rgb */ color: rgb(120, 124, 134);
/* oklch */ color: oklch(58.6% 0.016 268.4);
Tailwind
colors: {
  custom: {
    50: '#9fa1a9',
    500: '#787c86',
    950: '#000000',
  },
}
SCSS
$custom: #787c86;
$custom-light: #9fa1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#787c86",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 134
  },
  "hsl": {
    "h": 222.857,
    "s": 5.512,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.01597,
    "h": 268.4
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#787C86
secondary
#B0AEAA
accent
#9F79AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #787C86

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

Preview Lab → · Contrast checker → · Palette generator →

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