#786B79#786B79

#786B79 is a mid, muted grey. Relative luminance 0.159; OKLCH L 54.5% C 0.027 H 323.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#786B79
RGBrgb(120, 107, 121)
HSLhsl(296, 6%, 45%)
HSVhsv(296, 12%, 47%)
CMYKcmyk(0.8%, 11.6%, 0%, 52.5%)
CIE-LABlab(46.83, 7.85, -5.90)
CIE-LCHlch(46.83, 9.82, 323.06°)
OKLaboklab(54.46% 0.0214 -0.0157)
OKLCHoklch(54.46% 0.027 323.7)
XYZxyz(16.4541, 15.8891, 20.2856)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786B79 #6C796B
analogous
#716B79 #786B79 #796B73
triadic
#786B79 #79786B #6B7978
tetradic
#786B79 #79716B #6C796B #6B7379
square
#786B79 #79716B #6C796B #6B7379
split-complementary
#786B79 #73796B #6B7971
monochromatic
#383238 #584E59 #786B79 #968A97 #B3AAB4

Accessibility & contrast

On white

5.03
#786B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#786B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786B79
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786B79#FFFFFF#000000##FFFFFF
##786B791.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E7A
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#796C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786b79;
/* rgb */ color: rgb(120, 107, 121);
/* oklch */ color: oklch(54.5% 0.027 323.7);
Tailwind
colors: {
  custom: {
    50: '#9f959f',
    500: '#786b79',
    950: '#000000',
  },
}
SCSS
$custom: #786b79;
$custom-light: #9f959f;
$custom-dark: #000000;
JSON
{
  "hex": "#786b79",
  "rgb": {
    "r": 120,
    "g": 107,
    "b": 121
  },
  "hsl": {
    "h": 295.714,
    "s": 6.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.02659,
    "h": 323.7
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#786B79
secondary
#9CA49C
accent
#AF797C
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786B79

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

Preview Lab → · Contrast checker → · Palette generator →

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