#786C6C#786C6C

#786C6C is a mid, near-neutral grey. Relative luminance 0.158; OKLCH L 54.2% C 0.015 H 17.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#786C6C
RGBrgb(120, 108, 108)
HSLhsl(0, 5%, 45%)
HSVhsv(0, 10%, 47%)
CMYKcmyk(0%, 10%, 10%, 52.9%)
CIE-LABlab(46.71, 4.70, 1.71)
CIE-LCHlch(46.71, 5.00, 20.01°)
OKLaboklab(54.24% 0.0144 0.0046)
OKLCHoklch(54.24% 0.015 17.6)
XYZxyz(15.8148, 15.8012, 16.4013)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C6C #6C7878
analogous
#786C72 #786C6C #78726C
triadic
#786C6C #6C786C #6C6C78
tetradic
#786C6C #72786C #6C7878 #726C78
square
#786C6C #72786C #6C7878 #726C78
split-complementary
#786C6C #6C7872 #6C7278
monochromatic
#383232 #584F4F #786C6C #968B8B #B3ABAB

Accessibility & contrast

On white

5.05
#786C6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#786C6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C6C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C6C#FFFFFF#000000##FFFFFF
##786C6C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6D6C
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#7B6B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786c6c;
/* rgb */ color: rgb(120, 108, 108);
/* oklch */ color: oklch(54.2% 0.015 17.6);
Tailwind
colors: {
  custom: {
    50: '#9f9696',
    500: '#786c6c',
    950: '#000000',
  },
}
SCSS
$custom: #786c6c;
$custom-light: #9f9696;
$custom-dark: #000000;
JSON
{
  "hex": "#786c6c",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 108
  },
  "hsl": {
    "h": 0,
    "s": 5.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.01513,
    "h": 17.6
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#786C6C
secondary
#9CA3A3
accent
#AEAE79
background
#F9F9F9
surface
#F2F1F1
border
#CCCBCB
text
#0E0D0D
muted
#7E7E7E

Preview Lab

Preview with #786C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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