#787C7C#787C7C

#787C7C is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.3% C 0.005 H 197.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#787C7C
RGBrgb(120, 124, 124)
HSLhsl(180, 2%, 48%)
HSVhsv(180, 3%, 49%)
CMYKcmyk(3.2%, 0%, 0%, 51.4%)
CIE-LABlab(51.68, -1.50, -0.52)
CIE-LCHlch(51.68, 1.58, 199.24°)
OKLaboklab(58.29% -0.0046 -0.0014)
OKLCHoklch(58.29% 0.005 197)
XYZxyz(18.5908, 19.8635, 21.9195)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C7C #7C7878
analogous
#787C7A #787C7C #787A7C
triadic
#787C7C #7C787C #7C7C78
tetradic
#787C7C #7A787C #7C7878 #7A7C78
square
#787C7C #7A787C #7C7878 #7A7C78
split-complementary
#787C7C #7C787A #7C7A78
monochromatic
#3C3E3E #5A5D5D #787C7C #979A9A #B6B8B8

Accessibility & contrast

On white

4.22
#787C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#787C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C7C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C7C#FFFFFF#000000##000000
##787C7C1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C7C
Deuteranopia (green-blind)
#7B7B7C
Tritanopia (blue-blind)
#777C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787c7c;
/* rgb */ color: rgb(120, 124, 124);
/* oklch */ color: oklch(58.3% 0.005 197.0);
Tailwind
colors: {
  custom: {
    50: '#9fa1a1',
    500: '#787c7c',
    950: '#000000',
  },
}
SCSS
$custom: #787c7c;
$custom-light: #9fa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#787c7c",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 124
  },
  "hsl": {
    "h": 180,
    "s": 1.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.00482,
    "h": 197
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#787C7C
secondary
#A9A7A7
accent
#7D7DAB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0F
muted
#7E7E7E

Preview Lab

Preview with #787C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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