#787E7A#787E7A

#787E7A is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.7% C 0.009 H 156.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#787E7A
RGBrgb(120, 126, 122)
HSLhsl(140, 2%, 48%)
HSVhsv(140, 5%, 49%)
CMYKcmyk(4.8%, 0%, 3.2%, 50.6%)
CIE-LABlab(52.20, -3.05, 1.40)
CIE-LCHlch(52.20, 3.35, 155.35°)
OKLaboklab(58.68% -0.0086 0.0037)
OKLCHoklch(58.68% 0.009 156.9)
XYZxyz(18.7188, 20.3198, 21.3445)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E7A #7E787C
analogous
#797E78 #787E7A #787E7D
triadic
#787E7A #7A787E #7E7A78
tetradic
#787E7A #78797E #7E787C #7E7D78
square
#787E7A #78797E #7E787C #7E7D78
split-complementary
#787E7A #7D787E #7E7879
monochromatic
#3C3F3D #5A5F5C #787E7A #979C99 #B6BAB8

Accessibility & contrast

On white

4.15
#787E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#787E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E7A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E7A#FFFFFF#000000##000000
##787E7A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D7A
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#777E7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e7a;
/* rgb */ color: rgb(120, 126, 122);
/* oklch */ color: oklch(58.7% 0.009 156.9);
Tailwind
colors: {
  custom: {
    50: '#9fa3a0',
    500: '#787e7a',
    950: '#000000',
  },
}
SCSS
$custom: #787e7a;
$custom-light: #9fa3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#787e7a",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 122
  },
  "hsl": {
    "h": 140,
    "s": 2.439,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.00934,
    "h": 156.9
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#787E7A
secondary
#AAA7A9
accent
#7C9CAC
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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