#787E6C#787E6C

#787E6C is a mid, muted grey. Relative luminance 0.200; OKLCH L 58.3% C 0.028 H 122.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#787E6C
RGBrgb(120, 126, 108)
HSLhsl(80, 8%, 46%)
HSVhsv(80, 14%, 49%)
CMYKcmyk(4.8%, 0%, 14.3%, 50.6%)
CIE-LABlab(51.83, -5.72, 9.05)
CIE-LCHlch(51.83, 10.71, 122.30°)
OKLaboklab(58.27% -0.0148 0.0234)
OKLCHoklch(58.27% 0.028 122.3)
XYZxyz(17.9130, 19.9975, 17.1007)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E6C #726C7E
analogous
#7E7B6C #787E6C #6F7E6C
triadic
#787E6C #6C787E #7E6C78
tetradic
#787E6C #6C7E7B #726C7E #7E6C6F
square
#787E6C #6C7E7B #726C7E #7E6C6F
split-complementary
#787E6C #6C6F7E #7B6C7E
monochromatic
#393C34 #595D50 #787E6C #969C8B #B4B8AC

Accessibility & contrast

On white

4.20
#787E6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#787E6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E6C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E6C#FFFFFF#000000##000000
##787E6C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C6B
Deuteranopia (green-blind)
#807C6D
Tritanopia (blue-blind)
#7A7C79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e6c;
/* rgb */ color: rgb(120, 126, 108);
/* oklch */ color: oklch(58.3% 0.028 122.3);
Tailwind
colors: {
  custom: {
    50: '#9fa396',
    500: '#787e6c',
    950: '#000000',
  },
}
SCSS
$custom: #787e6c;
$custom-light: #9fa396;
$custom-dark: #000000;
JSON
{
  "hex": "#787e6c",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 108
  },
  "hsl": {
    "h": 80,
    "s": 7.692,
    "l": 45.882
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.0277,
    "h": 122.3
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#787E6C
secondary
#A19EA8
accent
#77B18A
background
#F9FAF9
surface
#F2F3F1
border
#CCCDCB
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #787E6C

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

Preview Lab → · Contrast checker → · Palette generator →

#787E6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva