#787D71#787D71

#787D71 is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.2% C 0.019 H 125.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#787D71
RGBrgb(120, 125, 113)
HSLhsl(85, 5%, 47%)
HSVhsv(85, 10%, 49%)
CMYKcmyk(4%, 0%, 9.6%, 51%)
CIE-LABlab(51.67, -4.23, 5.90)
CIE-LCHlch(51.67, 7.26, 125.66°)
OKLaboklab(58.18% -0.011 0.0154)
OKLCHoklch(58.18% 0.019 125.5)
XYZxyz(18.0595, 19.8525, 18.5001)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D71 #76717D
analogous
#7D7C71 #787D71 #727D71
triadic
#787D71 #71787D #7D7178
tetradic
#787D71 #717D7C #76717D #7D7172
square
#787D71 #717D7C #76717D #7D7172
split-complementary
#787D71 #71727D #7C717D
monochromatic
#3A3D37 #595D54 #787D71 #969B90 #B5B8B0

Accessibility & contrast

On white

4.22
#787D71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#787D71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D71
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D71#FFFFFF#000000##000000
##787D711.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7B70
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#797C79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787d71;
/* rgb */ color: rgb(120, 125, 113);
/* oklch */ color: oklch(58.2% 0.019 125.5);
Tailwind
colors: {
  custom: {
    50: '#9fa299',
    500: '#787d71',
    950: '#000000',
  },
}
SCSS
$custom: #787d71;
$custom-light: #9fa299;
$custom-dark: #000000;
JSON
{
  "hex": "#787d71",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 113
  },
  "hsl": {
    "h": 85,
    "s": 5.042,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.01889,
    "h": 125.5
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#787D71
secondary
#A4A2A8
accent
#7AAE90
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #787D71

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

Preview Lab → · Contrast checker → · Palette generator →

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