#787C7A#787C7A

#787C7A is a mid, near-neutral grey. Relative luminance 0.198; OKLCH L 58.2% C 0.006 H 164.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#787C7A
RGBrgb(120, 124, 122)
HSLhsl(150, 2%, 48%)
HSVhsv(150, 3%, 49%)
CMYKcmyk(3.2%, 0%, 1.6%, 51.4%)
CIE-LABlab(51.63, -1.90, 0.57)
CIE-LCHlch(51.63, 1.99, 163.40°)
OKLaboklab(58.23% -0.0055 0.0015)
OKLCHoklch(58.23% 0.006 164.8)
XYZxyz(18.4656, 19.8134, 21.2601)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C7A #7C787A
analogous
#787C78 #787C7A #787C7C
triadic
#787C7A #7A787C #7C7A78
tetradic
#787C7A #78787C #7C787A #7C7C78
square
#787C7A #78787C #7C787A #7C7C78
split-complementary
#787C7A #7C787C #7C7878
monochromatic
#3C3E3D #5A5D5B #787C7A #979A99 #B6B8B7

Accessibility & contrast

On white

4.23
#787C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#787C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C7A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C7A#FFFFFF#000000##000000
##787C7A1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#777C7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787c7a;
/* rgb */ color: rgb(120, 124, 122);
/* oklch */ color: oklch(58.2% 0.006 164.8);
Tailwind
colors: {
  custom: {
    50: '#9fa1a0',
    500: '#787c7a',
    950: '#000000',
  },
}
SCSS
$custom: #787c7a;
$custom-light: #9fa1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#787c7a",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 122
  },
  "hsl": {
    "h": 150,
    "s": 1.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.00566,
    "h": 164.8
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#787C7A
secondary
#A9A7A8
accent
#7D94AB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #787C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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