#787F76#787F76

#787F76 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 58.8% C 0.016 H 138.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#787F76
RGBrgb(120, 127, 118)
HSLhsl(107, 4%, 48%)
HSVhsv(107, 7%, 50%)
CMYKcmyk(5.5%, 0%, 7.1%, 50.2%)
CIE-LABlab(52.38, -4.41, 3.99)
CIE-LCHlch(52.38, 5.95, 137.84°)
OKLaboklab(58.78% -0.0119 0.0104)
OKLCHoklch(58.78% 0.016 138.7)
XYZxyz(18.6045, 20.4797, 20.1089)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787F76 #7D767F
analogous
#7C7F76 #787F76 #767F78
triadic
#787F76 #76787F #7F7678
tetradic
#787F76 #767C7F #7D767F #7F7876
square
#787F76 #767C7F #7D767F #7F7876
split-complementary
#787F76 #78767F #7F767C
monochromatic
#3C403B #5A5F59 #787F76 #979D95 #B6BAB5

Accessibility & contrast

On white

4.12
#787F76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#787F76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787F76
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787F76#FFFFFF#000000##000000
##787F761.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807D76
Deuteranopia (green-blind)
#7E7D76
Tritanopia (blue-blind)
#787E7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787f76;
/* rgb */ color: rgb(120, 127, 118);
/* oklch */ color: oklch(58.8% 0.016 138.7);
Tailwind
colors: {
  custom: {
    50: '#9fa49d',
    500: '#787f76',
    950: '#000000',
  },
}
SCSS
$custom: #787f76;
$custom-light: #9fa49d;
$custom-dark: #000000;
JSON
{
  "hex": "#787f76",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 118
  },
  "hsl": {
    "h": 106.667,
    "s": 3.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.01583,
    "h": 138.7
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#787F76
secondary
#AAA6AB
accent
#7BADA2
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787F76

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

Preview Lab → · Contrast checker → · Palette generator →

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