#787E84#787E84

#787E84 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.012 H 248.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#787E84
RGBrgb(120, 126, 132)
HSLhsl(210, 5%, 49%)
HSVhsv(210, 9%, 52%)
CMYKcmyk(9.1%, 4.5%, 0%, 48.2%)
CIE-LABlab(52.49, -0.96, -4.02)
CIE-LCHlch(52.49, 4.14, 256.55°)
OKLaboklab(59% -0.0043 -0.0108)
OKLCHoklch(59% 0.012 248)
XYZxyz(19.3706, 20.5805, 24.7772)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E84 #847E78
analogous
#788484 #787E84 #787884
triadic
#787E84 #84787E #7E8478
tetradic
#787E84 #847884 #847E78 #788478
square
#787E84 #847884 #847E78 #788478
split-complementary
#787E84 #847878 #848478
monochromatic
#3E4144 #5B5F64 #787E84 #989DA1 #B8BBBE

Accessibility & contrast

On white

4.10
#787E84 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#787E84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E84
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E84#FFFFFF#000000##000000
##787E841.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E84
Deuteranopia (green-blind)
#7A7D84
Tritanopia (blue-blind)
#757F80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787e84;
/* rgb */ color: rgb(120, 126, 132);
/* oklch */ color: oklch(59.0% 0.012 248.0);
Tailwind
colors: {
  custom: {
    50: '#9fa3a7',
    500: '#787e84',
    950: '#000000',
  },
}
SCSS
$custom: #787e84;
$custom-light: #9fa3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#787e84",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 132
  },
  "hsl": {
    "h": 210,
    "s": 4.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.01163,
    "h": 248
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#787E84
secondary
#AFACA9
accent
#947AAE
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #787E84

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

Preview Lab → · Contrast checker → · Palette generator →

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