#786E79#786E79

#786E79 is a mid, muted grey. Relative luminance 0.165; OKLCH L 55.1% C 0.021 H 323.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#786E79
RGBrgb(120, 110, 121)
HSLhsl(295, 5%, 45%)
HSVhsv(295, 9%, 47%)
CMYKcmyk(0.8%, 9.1%, 0%, 52.5%)
CIE-LABlab(47.66, 6.07, -4.67)
CIE-LCHlch(47.66, 7.66, 322.39°)
OKLaboklab(55.11% 0.0165 -0.0124)
OKLCHoklch(55.11% 0.021 323.1)
XYZxyz(16.7723, 16.5256, 20.3916)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E79 #6F796E
analogous
#726E79 #786E79 #796E74
triadic
#786E79 #79786E #6E7978
tetradic
#786E79 #79726E #6F796E #6E7479
square
#786E79 #79726E #6F796E #6E7479
split-complementary
#786E79 #74796E #6E7972
monochromatic
#383439 #585159 #786E79 #968D97 #B4ADB4

Accessibility & contrast

On white

4.88
#786E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786E79
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E79#FFFFFF#000000##FFFFFF
##786E791.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D707A
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#796F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786e79;
/* rgb */ color: rgb(120, 110, 121);
/* oklch */ color: oklch(55.1% 0.021 323.1);
Tailwind
colors: {
  custom: {
    50: '#9f979f',
    500: '#786e79',
    950: '#000000',
  },
}
SCSS
$custom: #786e79;
$custom-light: #9f979f;
$custom-dark: #000000;
JSON
{
  "hex": "#786e79",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 121
  },
  "hsl": {
    "h": 294.545,
    "s": 4.762,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.02068,
    "h": 323.1
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#786E79
secondary
#9FA59E
accent
#AE7A7F
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786E79

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

Preview Lab → · Contrast checker → · Palette generator →

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