#786A6A#786A6A

#786A6A is a mid, near-neutral grey. Relative luminance 0.153; OKLCH L 53.7% C 0.018 H 17.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#786A6A
RGBrgb(120, 106, 106)
HSLhsl(0, 6%, 44%)
HSVhsv(0, 12%, 47%)
CMYKcmyk(0%, 11.7%, 11.7%, 52.9%)
CIE-LABlab(46.10, 5.51, 2.02)
CIE-LCHlch(46.10, 5.87, 20.13°)
OKLaboklab(53.74% 0.0169 0.0054)
OKLCHoklch(53.74% 0.018 17.7)
XYZxyz(15.5011, 15.3421, 15.7776)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A6A #6A7878
analogous
#786A71 #786A6A #78716A
triadic
#786A6A #6A786A #6A6A78
tetradic
#786A6A #71786A #6A7878 #716A78
square
#786A6A #71786A #6A7878 #716A78
split-complementary
#786A6A #6A7871 #6A7178
monochromatic
#373131 #584D4D #786A6A #978989 #B3A9A9

Accessibility & contrast

On white

5.16
#786A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#786A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A6A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A6A#FFFFFF#000000##FFFFFF
##786A6A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6C6A
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#7B696A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786a6a;
/* rgb */ color: rgb(120, 106, 106);
/* oklch */ color: oklch(53.7% 0.018 17.7);
Tailwind
colors: {
  custom: {
    50: '#9f9494',
    500: '#786a6a',
    950: '#000000',
  },
}
SCSS
$custom: #786a6a;
$custom-light: #9f9494;
$custom-dark: #000000;
JSON
{
  "hex": "#786a6a",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 106
  },
  "hsl": {
    "h": 0,
    "s": 6.195,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.01774,
    "h": 17.7
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#786A6A
secondary
#9BA3A3
accent
#AFAF79
background
#F9F9F9
surface
#F2F1F1
border
#CCCBCB
text
#0E0D0D
muted
#7E7E7E

Preview Lab

Preview with #786A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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