#786876#786876

#786876 is a mid, muted grey. Relative luminance 0.152; OKLCH L 53.7% C 0.029 H 330.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#786876
RGBrgb(120, 104, 118)
HSLhsl(308, 7%, 44%)
HSVhsv(308, 13%, 47%)
CMYKcmyk(0%, 13.3%, 1.7%, 52.9%)
CIE-LABlab(45.91, 9.03, -5.47)
CIE-LCHlch(45.91, 10.56, 328.79°)
OKLaboklab(53.72% 0.0252 -0.0145)
OKLCHoklch(53.72% 0.029 330)
XYZxyz(15.9657, 15.2020, 19.2292)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786876 #68786A
analogous
#726878 #786876 #78686E
triadic
#786876 #767868 #687678
tetradic
#786876 #787268 #68786A #686E78
square
#786876 #787268 #68786A #686E78
split-complementary
#786876 #6E7868 #687872
monochromatic
#362F36 #574C56 #786876 #978795 #B3A7B2

Accessibility & contrast

On white

5.20
#786876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#786876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786876
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786876#FFFFFF#000000##FFFFFF
##7868761.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686B77
Deuteranopia (green-blind)
#6B6D75
Tritanopia (blue-blind)
#79696D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786876;
/* rgb */ color: rgb(120, 104, 118);
/* oklch */ color: oklch(53.7% 0.029 330.0);
Tailwind
colors: {
  custom: {
    50: '#9f939d',
    500: '#786876',
    950: '#000000',
  },
}
SCSS
$custom: #786876;
$custom-light: #9f939d;
$custom-dark: #000000;
JSON
{
  "hex": "#786876",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 118
  },
  "hsl": {
    "h": 307.5,
    "s": 7.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.02909,
    "h": 330
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#786876
secondary
#99A39A
accent
#B07F78
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786876

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

Preview Lab → · Contrast checker → · Palette generator →

#786876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva