#786C70#786C70

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

Color values

HEX#786C70
RGBrgb(120, 108, 112)
HSLhsl(340, 5%, 45%)
HSVhsv(340, 10%, 47%)
CMYKcmyk(0%, 10%, 6.7%, 52.9%)
CIE-LABlab(46.83, 5.46, -0.52)
CIE-LCHlch(46.83, 5.48, 354.59°)
OKLaboklab(54.37% 0.0161 -0.0013)
OKLCHoklch(54.37% 0.016 355.4)
XYZxyz(16.0326, 15.8883, 17.5482)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C70 #6C7874
analogous
#786C76 #786C70 #786E6C
triadic
#786C70 #70786C #6C7078
tetradic
#786C70 #76786C #6C7874 #6E6C78
square
#786C70 #76786C #6C7874 #6E6C78
split-complementary
#786C70 #6C786E #6C7678
monochromatic
#383234 #584F52 #786C70 #968B8F #B3ABAE

Accessibility & contrast

On white

5.03
#786C70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786C70
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C70#FFFFFF#000000##FFFFFF
##786C701.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E70
Deuteranopia (green-blind)
#707070
Tritanopia (blue-blind)
#7A6C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786c70;
/* rgb */ color: rgb(120, 108, 112);
/* oklch */ color: oklch(54.4% 0.016 355.4);
Tailwind
colors: {
  custom: {
    50: '#9f9699',
    500: '#786c70',
    950: '#000000',
  },
}
SCSS
$custom: #786c70;
$custom-light: #9f9699;
$custom-dark: #000000;
JSON
{
  "hex": "#786c70",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 112
  },
  "hsl": {
    "h": 340,
    "s": 5.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54369,
    "c": 0.01616,
    "h": 355.4
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#786C70
secondary
#9CA3A1
accent
#AE9D79
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0D
muted
#7E7E7E

Preview Lab

Preview with #786C70

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

Preview Lab → · Contrast checker → · Palette generator →

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