#786A78#786A78

#786A78 is a mid, muted grey. Relative luminance 0.157; OKLCH L 54.2% C 0.027 H 326.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#786A78
RGBrgb(120, 106, 120)
HSLhsl(300, 6%, 44%)
HSVhsv(300, 12%, 47%)
CMYKcmyk(0%, 11.7%, 0%, 52.9%)
CIE-LABlab(46.52, 8.24, -5.76)
CIE-LCHlch(46.52, 10.06, 325.05°)
OKLaboklab(54.21% 0.0227 -0.0153)
OKLCHoklch(54.21% 0.027 326)
XYZxyz(16.2895, 15.6574, 19.9297)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A78 #6A786A
analogous
#716A78 #786A78 #786A71
triadic
#786A78 #78786A #6A7878
tetradic
#786A78 #78716A #6A786A #6A7178
square
#786A78 #78716A #6A786A #6A7178
split-complementary
#786A78 #71786A #6A7871
monochromatic
#373137 #584D58 #786A78 #978997 #B3A9B3

Accessibility & contrast

On white

5.08
#786A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#786A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A78
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A78#FFFFFF#000000##FFFFFF
##786A781.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696D79
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#796B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786a78;
/* rgb */ color: rgb(120, 106, 120);
/* oklch */ color: oklch(54.2% 0.027 326.0);
Tailwind
colors: {
  custom: {
    50: '#9f949f',
    500: '#786a78',
    950: '#000000',
  },
}
SCSS
$custom: #786a78;
$custom-light: #9f949f;
$custom-dark: #000000;
JSON
{
  "hex": "#786a78",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 6.195,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.02738,
    "h": 326
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#786A78
secondary
#9BA39B
accent
#AF7979
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786A78

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

Preview Lab → · Contrast checker → · Palette generator →

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