#786E78#786E78

#786E78 is a mid, near-neutral grey. Relative luminance 0.165; OKLCH L 55.1% C 0.019 H 325.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#786E78
RGBrgb(120, 110, 120)
HSLhsl(300, 4%, 45%)
HSVhsv(300, 8%, 47%)
CMYKcmyk(0%, 8.3%, 0%, 52.9%)
CIE-LABlab(47.63, 5.86, -4.12)
CIE-LCHlch(47.63, 7.17, 324.88°)
OKLaboklab(55.07% 0.0161 -0.0109)
OKLCHoklch(55.07% 0.019 325.9)
XYZxyz(16.7113, 16.5012, 20.0703)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E78 #6E786E
analogous
#736E78 #786E78 #786E73
triadic
#786E78 #78786E #6E7878
tetradic
#786E78 #78736E #6E786E #6E7378
square
#786E78 #78736E #6E786E #6E7378
split-complementary
#786E78 #73786E #6E7873
monochromatic
#383338 #585158 #786E78 #968D96 #B4ADB4

Accessibility & contrast

On white

4.88
#786E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#786E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E78
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E78#FFFFFF#000000##FFFFFF
##786E781.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7078
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#796F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786e78;
/* rgb */ color: rgb(120, 110, 120);
/* oklch */ color: oklch(55.1% 0.019 325.9);
Tailwind
colors: {
  custom: {
    50: '#9f979f',
    500: '#786e78',
    950: '#000000',
  },
}
SCSS
$custom: #786e78;
$custom-light: #9f979f;
$custom-dark: #000000;
JSON
{
  "hex": "#786e78",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 4.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.01949,
    "h": 325.9
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#786E78
secondary
#9EA49E
accent
#AE7A7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786E78

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

Preview Lab → · Contrast checker → · Palette generator →

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