#787E76#787E76

#787E76 is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.6% C 0.014 H 137.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#787E76
RGBrgb(120, 126, 118)
HSLhsl(105, 3%, 48%)
HSVhsv(105, 6%, 49%)
CMYKcmyk(4.8%, 0%, 6.3%, 50.6%)
CIE-LABlab(52.09, -3.84, 3.58)
CIE-LCHlch(52.09, 5.25, 137.03°)
OKLaboklab(58.56% -0.0103 0.0094)
OKLCHoklch(58.56% 0.014 137.8)
XYZxyz(18.4760, 20.2227, 20.0660)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E76 #7C767E
analogous
#7C7E76 #787E76 #767E78
triadic
#787E76 #76787E #7E7678
tetradic
#787E76 #767C7E #7C767E #7E7876
square
#787E76 #767C7E #7C767E #7E7876
split-complementary
#787E76 #78767E #7E767C
monochromatic
#3C3F3B #5A5E58 #787E76 #979C95 #B6BAB5

Accessibility & contrast

On white

4.16
#787E76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#787E76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E76
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E76#FFFFFF#000000##000000
##787E761.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7D76
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#787D7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e76;
/* rgb */ color: rgb(120, 126, 118);
/* oklch */ color: oklch(58.6% 0.014 137.8);
Tailwind
colors: {
  custom: {
    50: '#9fa39d',
    500: '#787e76',
    950: '#000000',
  },
}
SCSS
$custom: #787e76;
$custom-light: #9fa39d;
$custom-dark: #000000;
JSON
{
  "hex": "#787e76",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 118
  },
  "hsl": {
    "h": 105,
    "s": 3.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.01395,
    "h": 137.8
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#787E76
secondary
#A9A6AA
accent
#7BACA0
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787E76

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

Preview Lab → · Contrast checker → · Palette generator →

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