#78786C#78786C

#78786C is a mid, near-neutral grey. Relative luminance 0.185; OKLCH L 56.9% C 0.018 H 107.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#78786C
RGBrgb(120, 120, 108)
HSLhsl(60, 5%, 45%)
HSVhsv(60, 10%, 47%)
CMYKcmyk(0%, 0%, 10%, 52.9%)
CIE-LABlab(50.11, -2.30, 6.60)
CIE-LCHlch(50.11, 6.99, 109.26°)
OKLaboklab(56.91% -0.0052 0.0172)
OKLCHoklch(56.91% 0.018 107)
XYZxyz(17.1686, 18.5088, 16.8525)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78786C #6C6C78
analogous
#78726C #78786C #72786C
triadic
#78786C #6C7878 #786C78
tetradic
#78786C #6C7872 #6C6C78 #786C72
square
#78786C #6C7872 #6C6C78 #786C72
split-complementary
#78786C #6C7278 #726C78
monochromatic
#383832 #58584F #78786C #96968B #B3B3AB

Accessibility & contrast

On white

4.47
#78786C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#78786C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78786C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78786C#FFFFFF#000000##000000
##78786C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A776B
Deuteranopia (green-blind)
#7B776C
Tritanopia (blue-blind)
#7A7675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #78786c;
/* rgb */ color: rgb(120, 120, 108);
/* oklch */ color: oklch(56.9% 0.018 107.0);
Tailwind
colors: {
  custom: {
    50: '#9f9e96',
    500: '#78786c',
    950: '#000000',
  },
}
SCSS
$custom: #78786c;
$custom-light: #9f9e96;
$custom-dark: #000000;
JSON
{
  "hex": "#78786c",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 60,
    "s": 5.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.01797,
    "h": 107
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#78786C
secondary
#9C9CA3
accent
#79AE79
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #78786C

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

Preview Lab → · Contrast checker → · Palette generator →

#78786C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva