#786874#786874

#786874 is a mid, muted grey. Relative luminance 0.152; OKLCH L 53.6% C 0.027 H 334.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#786874
RGBrgb(120, 104, 116)
HSLhsl(315, 7%, 44%)
HSVhsv(315, 13%, 47%)
CMYKcmyk(0%, 13.3%, 3.3%, 52.9%)
CIE-LABlab(45.85, 8.62, -4.36)
CIE-LCHlch(45.85, 9.66, 333.17°)
OKLaboklab(53.64% 0.0244 -0.0115)
OKLCHoklch(53.64% 0.027 334.7)
XYZxyz(15.8481, 15.1549, 18.6099)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786874 #68786C
analogous
#746878 #786874 #78686C
triadic
#786874 #747868 #687478
tetradic
#786874 #787468 #68786C #686C78
square
#786874 #787468 #68786C #686C78
split-complementary
#786874 #6C7868 #687874
monochromatic
#362F35 #574C54 #786874 #978793 #B3A7B0

Accessibility & contrast

On white

5.21
#786874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#786874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786874
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786874#FFFFFF#000000##FFFFFF
##7868741.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686B75
Deuteranopia (green-blind)
#6B6D73
Tritanopia (blue-blind)
#7A696C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #786874;
/* rgb */ color: rgb(120, 104, 116);
/* oklch */ color: oklch(53.6% 0.027 334.7);
Tailwind
colors: {
  custom: {
    50: '#9f939c',
    500: '#786874',
    950: '#000000',
  },
}
SCSS
$custom: #786874;
$custom-light: #9f939c;
$custom-dark: #000000;
JSON
{
  "hex": "#786874",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 116
  },
  "hsl": {
    "h": 315,
    "s": 7.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.02699,
    "h": 334.7
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#786874
secondary
#99A39B
accent
#B08678
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786874

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

Preview Lab → · Contrast checker → · Palette generator →

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