#787A6A#787A6A

#787A6A is a mid, muted grey. Relative luminance 0.190; OKLCH L 57.3% C 0.024 H 112.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#787A6A
RGBrgb(120, 122, 106)
HSLhsl(68, 7%, 45%)
HSVhsv(68, 13%, 48%)
CMYKcmyk(1.6%, 0%, 13.1%, 52.2%)
CIE-LABlab(50.63, -3.81, 8.52)
CIE-LCHlch(50.63, 9.33, 114.11°)
OKLaboklab(57.3% -0.0093 0.0221)
OKLCHoklch(57.3% 0.024 112.9)
XYZxyz(17.3065, 18.9528, 16.3794)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A6A #6C6A7A
analogous
#7A746A #787A6A #707A6A
triadic
#787A6A #6A787A #7A6A78
tetradic
#787A6A #6A7A74 #6C6A7A #7A6A70
square
#787A6A #6A7A74 #6C6A7A #7A6A70
split-complementary
#787A6A #6A707A #746A7A
monochromatic
#383931 #58594E #787A6A #969889 #B3B5AA

Accessibility & contrast

On white

4.38
#787A6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#787A6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A6A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A6A#FFFFFF#000000##000000
##787A6A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7869
Deuteranopia (green-blind)
#7D796B
Tritanopia (blue-blind)
#7A7875
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787a6a;
/* rgb */ color: rgb(120, 122, 106);
/* oklch */ color: oklch(57.3% 0.024 112.9);
Tailwind
colors: {
  custom: {
    50: '#9fa094',
    500: '#787a6a',
    950: '#000000',
  },
}
SCSS
$custom: #787a6a;
$custom-light: #9fa094;
$custom-dark: #000000;
JSON
{
  "hex": "#787a6a",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 106
  },
  "hsl": {
    "h": 67.5,
    "s": 7.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.02396,
    "h": 112.9
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#787A6A
secondary
#9C9BA5
accent
#78B07F
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #787A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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