#787A7A#787A7A

#787A7A is a mid, near-neutral grey. Relative luminance 0.193; OKLCH L 57.8% C 0.002 H 197.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#787A7A
RGBrgb(120, 122, 122)
HSLhsl(180, 1%, 47%)
HSVhsv(180, 2%, 48%)
CMYKcmyk(1.6%, 0%, 0%, 52.2%)
CIE-LABlab(51.06, -0.75, -0.26)
CIE-LCHlch(51.06, 0.80, 199.33°)
OKLaboklab(57.78% -0.0023 -0.0007)
OKLCHoklch(57.78% 0.002 197)
XYZxyz(18.2175, 19.3172, 21.1774)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A7A #7A7878
analogous
#787A79 #787A7A #78797A
triadic
#787A7A #7A787A #7A7A78
tetradic
#787A7A #79787A #7A7878 #797A78
square
#787A7A #79787A #7A7878 #797A78
split-complementary
#787A7A #7A7879 #7A7978
monochromatic
#3B3C3C #5A5B5B #787A7A #979898 #B6B7B7

Accessibility & contrast

On white

4.32
#787A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#787A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A7A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A7A#FFFFFF#000000##000000
##787A7A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7A
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#777A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787a7a;
/* rgb */ color: rgb(120, 122, 122);
/* oklch */ color: oklch(57.8% 0.002 197.0);
Tailwind
colors: {
  custom: {
    50: '#9fa0a0',
    500: '#787a7a',
    950: '#000000',
  },
}
SCSS
$custom: #787a7a;
$custom-light: #9fa0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#787a7a",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 180,
    "s": 0.826,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.00243,
    "h": 197
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#787A7A
secondary
#A7A6A6
accent
#7E7EAA
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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