#78786F#78786F

#78786F is a mid, near-neutral grey. Relative luminance 0.186; OKLCH L 57.0% C 0.014 H 106.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#78786F
RGBrgb(120, 120, 111)
HSLhsl(60, 4%, 45%)
HSVhsv(60, 8%, 47%)
CMYKcmyk(0%, 0%, 7.5%, 52.9%)
CIE-LABlab(50.18, -1.75, 4.94)
CIE-LCHlch(50.18, 5.24, 109.49°)
OKLaboklab(56.99% -0.0039 0.0129)
OKLCHoklch(56.99% 0.014 106.8)
XYZxyz(17.3311, 18.5738, 17.7079)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78786F #6F6F78
analogous
#78736F #78786F #73786F
triadic
#78786F #6F7878 #786F78
tetradic
#78786F #6F7873 #6F6F78 #786F73
square
#78786F #6F7873 #6F6F78 #786F73
split-complementary
#78786F #6F7378 #736F78
monochromatic
#383834 #585852 #78786F #96968E #B4B4AE

Accessibility & contrast

On white

4.45
#78786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#78786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78786F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78786F#FFFFFF#000000##000000
##78786F1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A776F
Deuteranopia (green-blind)
#7A786F
Tritanopia (blue-blind)
#7A7775
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #78786f;
/* rgb */ color: rgb(120, 120, 111);
/* oklch */ color: oklch(57.0% 0.014 106.8);
Tailwind
colors: {
  custom: {
    50: '#9f9e98',
    500: '#78786f',
    950: '#000000',
  },
}
SCSS
$custom: #78786f;
$custom-light: #9f9e98;
$custom-dark: #000000;
JSON
{
  "hex": "#78786f",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 3.896,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.01351,
    "h": 106.8
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#78786F
secondary
#9F9FA4
accent
#7BAD7B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #78786F

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

Preview Lab → · Contrast checker → · Palette generator →

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