#786C71#786C71

#786C71 is a mid, near-neutral grey. Relative luminance 0.159; OKLCH L 54.4% C 0.017 H 350.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#786C71
RGBrgb(120, 108, 113)
HSLhsl(335, 5%, 45%)
HSVhsv(335, 10%, 47%)
CMYKcmyk(0%, 10%, 5.8%, 52.9%)
CIE-LABlab(46.86, 5.65, -1.07)
CIE-LCHlch(46.86, 5.75, 349.26°)
OKLaboklab(54.4% 0.0165 -0.0028)
OKLCHoklch(54.4% 0.017 350.5)
XYZxyz(16.0886, 15.9107, 17.8431)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C71 #6C7873
analogous
#786C77 #786C71 #786D6C
triadic
#786C71 #71786C #6C7178
tetradic
#786C71 #77786C #6C7873 #6D6C78
square
#786C71 #77786C #6C7873 #6D6C78
split-complementary
#786C71 #6C786D #6C7778
monochromatic
#383234 #584F53 #786C71 #968B90 #B3ABAF

Accessibility & contrast

On white

5.02
#786C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#786C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C71
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C71#FFFFFF#000000##FFFFFF
##786C711.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E71
Deuteranopia (green-blind)
#6F7071
Tritanopia (blue-blind)
#7A6C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786c71;
/* rgb */ color: rgb(120, 108, 113);
/* oklch */ color: oklch(54.4% 0.017 350.5);
Tailwind
colors: {
  custom: {
    50: '#9f9699',
    500: '#786c71',
    950: '#000000',
  },
}
SCSS
$custom: #786c71;
$custom-light: #9f9699;
$custom-dark: #000000;
JSON
{
  "hex": "#786c71",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 113
  },
  "hsl": {
    "h": 335,
    "s": 5.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.01676,
    "h": 350.5
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#786C71
secondary
#9CA3A0
accent
#AE9879
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786C71

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

Preview Lab → · Contrast checker → · Palette generator →

#786C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva