#787C6E#787C6E

#787C6E is a mid, muted grey. Relative luminance 0.195; OKLCH L 57.9% C 0.021 H 120.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787C6E
RGBrgb(120, 124, 110)
HSLhsl(77, 6%, 46%)
HSVhsv(77, 11%, 49%)
CMYKcmyk(3.2%, 0%, 11.3%, 51.4%)
CIE-LABlab(51.31, -4.22, 7.13)
CIE-LCHlch(51.31, 8.29, 120.63°)
OKLaboklab(57.87% -0.0107 0.0186)
OKLCHoklch(57.87% 0.021 120)
XYZxyz(17.7675, 19.5342, 17.5833)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C6E #726E7C
analogous
#7C796E #787C6E #717C6E
triadic
#787C6E #6E787C #7C6E78
tetradic
#787C6E #6E7C79 #726E7C #7C6E71
square
#787C6E #6E7C79 #726E7C #7C6E71
split-complementary
#787C6E #6E717C #796E7C
monochromatic
#393B34 #595C51 #787C6E #969A8D #B4B7AE

Accessibility & contrast

On white

4.28
#787C6E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#787C6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C6E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C6E#FFFFFF#000000##000000
##787C6E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7A6D
Deuteranopia (green-blind)
#7E7A6F
Tritanopia (blue-blind)
#797A78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787c6e;
/* rgb */ color: rgb(120, 124, 110);
/* oklch */ color: oklch(57.9% 0.021 120.0);
Tailwind
colors: {
  custom: {
    50: '#9fa197',
    500: '#787c6e',
    950: '#000000',
  },
}
SCSS
$custom: #787c6e;
$custom-light: #9fa197;
$custom-dark: #000000;
JSON
{
  "hex": "#787c6e",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 110
  },
  "hsl": {
    "h": 77.143,
    "s": 5.983,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.02143,
    "h": 120
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#787C6E
secondary
#A19FA7
accent
#79AF88
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0D
muted
#7E7E7E

Preview Lab

Preview with #787C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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