#787F85#787F85

#787F85 is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.3% C 0.012 H 243.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#787F85
RGBrgb(120, 127, 133)
HSLhsl(208, 5%, 50%)
HSVhsv(208, 10%, 52%)
CMYKcmyk(9.8%, 4.5%, 0%, 47.8%)
CIE-LABlab(52.80, -1.32, -4.14)
CIE-LCHlch(52.80, 4.35, 252.32°)
OKLaboklab(59.26% -0.0055 -0.0111)
OKLCHoklch(59.26% 0.012 243.8)
XYZxyz(19.5678, 20.8650, 25.1822)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787F85 #857E78
analogous
#788584 #787F85 #787985
triadic
#787F85 #85787F #7F8578
tetradic
#787F85 #847885 #857E78 #798578
square
#787F85 #847885 #857E78 #798578
split-complementary
#787F85 #857879 #858478
monochromatic
#3E4245 #5B6065 #787F85 #989DA2 #B8BCBF

Accessibility & contrast

On white

4.06
#787F85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#787F85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787F85
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787F85#FFFFFF#000000##000000
##787F851.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F85
Deuteranopia (green-blind)
#7B7D85
Tritanopia (blue-blind)
#758081
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #787f85;
/* rgb */ color: rgb(120, 127, 133);
/* oklch */ color: oklch(59.3% 0.012 243.8);
Tailwind
colors: {
  custom: {
    50: '#9fa4a8',
    500: '#787f85',
    950: '#000000',
  },
}
SCSS
$custom: #787f85;
$custom-light: #9fa4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#787f85",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 133
  },
  "hsl": {
    "h": 207.692,
    "s": 5.138,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.0124,
    "h": 243.8
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#787F85
secondary
#AFACA9
accent
#927AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #787F85

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

Preview Lab → · Contrast checker → · Palette generator →

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