#786E71#786E71

#786E71 is a mid, near-neutral grey. Relative luminance 0.163; OKLCH L 54.8% C 0.013 H 357.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#786E71
RGBrgb(120, 110, 113)
HSLhsl(342, 4%, 45%)
HSVhsv(342, 8%, 47%)
CMYKcmyk(0%, 8.3%, 5.8%, 52.9%)
CIE-LABlab(47.41, 4.47, -0.26)
CIE-LCHlch(47.41, 4.47, 356.71°)
OKLaboklab(54.84% 0.0132 -0.0006)
OKLCHoklch(54.84% 0.013 357.4)
XYZxyz(16.3019, 16.3374, 17.9142)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E71 #6E7875
analogous
#786E76 #786E71 #78706E
triadic
#786E71 #71786E #6E7178
tetradic
#786E71 #76786E #6E7875 #706E78
square
#786E71 #76786E #6E7875 #706E78
split-complementary
#786E71 #6E7870 #6E7678
monochromatic
#383335 #585153 #786E71 #968D90 #B4ADAF

Accessibility & contrast

On white

4.92
#786E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#786E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E71
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E71#FFFFFF#000000##FFFFFF
##786E711.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7071
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#7A6E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #786e71;
/* rgb */ color: rgb(120, 110, 113);
/* oklch */ color: oklch(54.8% 0.013 357.4);
Tailwind
colors: {
  custom: {
    50: '#9f9799',
    500: '#786e71',
    950: '#000000',
  },
}
SCSS
$custom: #786e71;
$custom-light: #9f9799;
$custom-dark: #000000;
JSON
{
  "hex": "#786e71",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 113
  },
  "hsl": {
    "h": 342,
    "s": 4.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.01324,
    "h": 357.4
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#786E71
secondary
#9EA4A2
accent
#AE9E7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786E71

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

Preview Lab → · Contrast checker → · Palette generator →

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