#787E71#787E71

#787E71 is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.4% C 0.021 H 127.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#787E71
RGBrgb(120, 126, 113)
HSLhsl(88, 5%, 47%)
HSVhsv(88, 10%, 49%)
CMYKcmyk(4.8%, 0%, 10.3%, 50.6%)
CIE-LABlab(51.96, -4.80, 6.31)
CIE-LCHlch(51.96, 7.93, 127.26°)
OKLaboklab(58.41% -0.0125 0.0164)
OKLCHoklch(58.41% 0.021 127.4)
XYZxyz(18.1867, 20.1070, 18.5425)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E71 #77717E
analogous
#7E7E71 #787E71 #727E71
triadic
#787E71 #71787E #7E7178
tetradic
#787E71 #717E7E #77717E #7E7172
square
#787E71 #717E7E #77717E #7E7172
split-complementary
#787E71 #71727E #7E717E
monochromatic
#3B3D37 #595E54 #787E71 #979C90 #B5B9B1

Accessibility & contrast

On white

4.18
#787E71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#787E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E71
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E71#FFFFFF#000000##000000
##787E711.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C70
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#797D7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e71;
/* rgb */ color: rgb(120, 126, 113);
/* oklch */ color: oklch(58.4% 0.021 127.4);
Tailwind
colors: {
  custom: {
    50: '#9fa399',
    500: '#787e71',
    950: '#000000',
  },
}
SCSS
$custom: #787e71;
$custom-light: #9fa399;
$custom-dark: #000000;
JSON
{
  "hex": "#787e71",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 113
  },
  "hsl": {
    "h": 87.692,
    "s": 5.439,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.02068,
    "h": 127.4
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#787E71
secondary
#A5A2A9
accent
#79AF92
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787E71

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

Preview Lab → · Contrast checker → · Palette generator →

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