#787A6C#787A6C

#787A6C is a mid, muted grey. Relative luminance 0.190; OKLCH L 57.4% C 0.021 H 113.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787A6C
RGBrgb(120, 122, 108)
HSLhsl(69, 6%, 45%)
HSVhsv(69, 11%, 48%)
CMYKcmyk(1.6%, 0%, 11.5%, 52.2%)
CIE-LABlab(50.68, -3.45, 7.41)
CIE-LCHlch(50.68, 8.18, 114.96°)
OKLaboklab(57.36% -0.0084 0.0193)
OKLCHoklch(57.36% 0.021 113.7)
XYZxyz(17.4117, 18.9949, 16.9336)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A6C #6E6C7A
analogous
#7A756C #787A6C #717A6C
triadic
#787A6C #6C787A #7A6C78
tetradic
#787A6C #6C7A75 #6E6C7A #7A6C71
square
#787A6C #6C7A75 #6E6C7A #7A6C71
split-complementary
#787A6C #6C717A #756C7A
monochromatic
#383933 #585A4F #787A6C #96988B #B4B5AB

Accessibility & contrast

On white

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

On black

4.80
#787A6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A6C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A6C#FFFFFF#000000##000000
##787A6C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C786B
Deuteranopia (green-blind)
#7C796C
Tritanopia (blue-blind)
#7A7876
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787a6c;
/* rgb */ color: rgb(120, 122, 108);
/* oklch */ color: oklch(57.4% 0.021 113.7);
Tailwind
colors: {
  custom: {
    50: '#9fa096',
    500: '#787a6c',
    950: '#000000',
  },
}
SCSS
$custom: #787a6c;
$custom-light: #9fa096;
$custom-dark: #000000;
JSON
{
  "hex": "#787a6c",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 108
  },
  "hsl": {
    "h": 68.571,
    "s": 6.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.02104,
    "h": 113.7
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#787A6C
secondary
#9E9DA5
accent
#79AF80
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #787A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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