#786F71#786F71

#786F71 is a mid, near-neutral grey. Relative luminance 0.166; OKLCH L 55.1% C 0.012 H 2.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#786F71
RGBrgb(120, 111, 113)
HSLhsl(347, 4%, 45%)
HSVhsv(347, 8%, 47%)
CMYKcmyk(0%, 7.5%, 5.8%, 52.9%)
CIE-LABlab(47.69, 3.88, 0.15)
CIE-LCHlch(47.69, 3.88, 2.24°)
OKLaboklab(55.06% 0.0116 0.0005)
OKLCHoklch(55.06% 0.012 2.3)
XYZxyz(16.4105, 16.5544, 17.9504)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F71 #6F7876
analogous
#786F75 #786F71 #78716F
triadic
#786F71 #71786F #6F7178
tetradic
#786F71 #75786F #6F7876 #716F78
square
#786F71 #75786F #6F7876 #716F78
split-complementary
#786F71 #6F7871 #6F7578
monochromatic
#383435 #585253 #786F71 #968E90 #B4AEAF

Accessibility & contrast

On white

4.87
#786F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#786F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F71
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F71#FFFFFF#000000##FFFFFF
##786F711.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#7A6F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786f71;
/* rgb */ color: rgb(120, 111, 113);
/* oklch */ color: oklch(55.1% 0.012 2.3);
Tailwind
colors: {
  custom: {
    50: '#9f9899',
    500: '#786f71',
    950: '#000000',
  },
}
SCSS
$custom: #786f71;
$custom-light: #9f9899;
$custom-dark: #000000;
JSON
{
  "hex": "#786f71",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 113
  },
  "hsl": {
    "h": 346.667,
    "s": 3.896,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.01159,
    "h": 2.3
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#786F71
secondary
#9FA4A3
accent
#ADA27B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786F71

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

Preview Lab → · Contrast checker → · Palette generator →

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