#786B71#786B71

#786B71 is a mid, near-neutral grey. Relative luminance 0.157; OKLCH L 54.2% C 0.019 H 348.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#786B71
RGBrgb(120, 107, 113)
HSLhsl(332, 6%, 45%)
HSVhsv(332, 11%, 47%)
CMYKcmyk(0%, 10.8%, 5.8%, 52.9%)
CIE-LABlab(46.58, 6.24, -1.48)
CIE-LCHlch(46.58, 6.42, 346.68°)
OKLaboklab(54.19% 0.0182 -0.0038)
OKLCHoklch(54.19% 0.019 348.1)
XYZxyz(15.9837, 15.7010, 17.8082)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786B71 #6B7872
analogous
#786B78 #786B71 #786C6B
triadic
#786B71 #71786B #6B7178
tetradic
#786B71 #78786B #6B7872 #6C6B78
square
#786B71 #78786B #6B7872 #6C6B78
split-complementary
#786B71 #6B786C #6B7878
monochromatic
#373134 #584E53 #786B71 #968A90 #B3AAAE

Accessibility & contrast

On white

5.07
#786B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#786B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786B71
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786B71#FFFFFF#000000##FFFFFF
##786B711.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6D71
Deuteranopia (green-blind)
#6F6F71
Tritanopia (blue-blind)
#7A6B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786b71;
/* rgb */ color: rgb(120, 107, 113);
/* oklch */ color: oklch(54.2% 0.019 348.1);
Tailwind
colors: {
  custom: {
    50: '#9f9599',
    500: '#786b71',
    950: '#000000',
  },
}
SCSS
$custom: #786b71;
$custom-light: #9f9599;
$custom-dark: #000000;
JSON
{
  "hex": "#786b71",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 113
  },
  "hsl": {
    "h": 332.308,
    "s": 5.727,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.01859,
    "h": 348.1
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#786B71
secondary
#9CA3A0
accent
#AF9679
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786B71

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

Preview Lab → · Contrast checker → · Palette generator →

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