#786F79#786F79

#786F79 is a mid, near-neutral grey. Relative luminance 0.167; OKLCH L 55.3% C 0.019 H 322.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#786F79
RGBrgb(120, 111, 121)
HSLhsl(294, 4%, 45%)
HSVhsv(294, 8%, 47%)
CMYKcmyk(0.8%, 8.3%, 0%, 52.5%)
CIE-LABlab(47.93, 5.48, -4.26)
CIE-LCHlch(47.93, 6.94, 322.09°)
OKLaboklab(55.32% 0.0149 -0.0113)
OKLCHoklch(55.32% 0.019 322.8)
XYZxyz(16.8808, 16.7426, 20.4278)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F79 #70796F
analogous
#736F79 #786F79 #796F75
triadic
#786F79 #79786F #6F7978
tetradic
#786F79 #79736F #70796F #6F7579
square
#786F79 #79736F #70796F #6F7579
split-complementary
#786F79 #75796F #6F7973
monochromatic
#393439 #585259 #786F79 #968E97 #B4AEB5

Accessibility & contrast

On white

4.83
#786F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#786F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F79
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F79#FFFFFF#000000##FFFFFF
##786F791.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7179
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#787072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #786f79;
/* rgb */ color: rgb(120, 111, 121);
/* oklch */ color: oklch(55.3% 0.019 322.8);
Tailwind
colors: {
  custom: {
    50: '#9f989f',
    500: '#786f79',
    950: '#000000',
  },
}
SCSS
$custom: #786f79;
$custom-light: #9f989f;
$custom-dark: #000000;
JSON
{
  "hex": "#786f79",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 121
  },
  "hsl": {
    "h": 294,
    "s": 4.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.01872,
    "h": 322.8
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#786F79
secondary
#A0A59F
accent
#AD7A7F
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786F79

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

Preview Lab → · Contrast checker → · Palette generator →

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