#787A6E#787A6E

#787A6E is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.4% C 0.018 H 114.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787A6E
RGBrgb(120, 122, 110)
HSLhsl(70, 5%, 45%)
HSVhsv(70, 10%, 48%)
CMYKcmyk(1.6%, 0%, 9.8%, 52.2%)
CIE-LABlab(50.73, -3.08, 6.31)
CIE-LCHlch(50.73, 7.03, 116.03°)
OKLaboklab(57.42% -0.0075 0.0165)
OKLCHoklch(57.42% 0.018 114.6)
XYZxyz(17.5194, 19.0380, 17.5006)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A6E #706E7A
analogous
#7A766E #787A6E #727A6E
triadic
#787A6E #6E787A #7A6E78
tetradic
#787A6E #6E7A76 #706E7A #7A6E72
square
#787A6E #6E7A76 #706E7A #7A6E72
split-complementary
#787A6E #6E727A #766E7A
monochromatic
#393A34 #585A51 #787A6E #96988D #B4B5AD

Accessibility & contrast

On white

4.37
#787A6E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787A6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A6E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A6E#FFFFFF#000000##000000
##787A6E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C796D
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#7A7877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787a6e;
/* rgb */ color: rgb(120, 122, 110);
/* oklch */ color: oklch(57.4% 0.018 114.6);
Tailwind
colors: {
  custom: {
    50: '#9fa097',
    500: '#787a6e',
    950: '#000000',
  },
}
SCSS
$custom: #787a6e;
$custom-light: #9fa097;
$custom-dark: #000000;
JSON
{
  "hex": "#787a6e",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 110
  },
  "hsl": {
    "h": 70,
    "s": 5.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.01811,
    "h": 114.6
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#787A6E
secondary
#A09FA5
accent
#79AE82
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #787A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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