#787B79#787B79

#787B79 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 58.0% C 0.005 H 157.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787B79
RGBrgb(120, 123, 121)
HSLhsl(140, 1%, 48%)
HSVhsv(140, 2%, 48%)
CMYKcmyk(2.4%, 0%, 1.6%, 51.8%)
CIE-LABlab(51.31, -1.53, 0.70)
CIE-LCHlch(51.31, 1.68, 155.50°)
OKLaboklab(57.97% -0.0043 0.0018)
OKLCHoklch(57.97% 0.005 157.2)
XYZxyz(18.2793, 19.5394, 20.8939)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B79 #7B787A
analogous
#787B78 #787B79 #787B7B
triadic
#787B79 #79787B #7B7978
tetradic
#787B79 #78787B #7B787A #7B7B78
square
#787B79 #78787B #7B787A #7B7B78
split-complementary
#787B79 #7B787B #7B7878
monochromatic
#3C3D3C #5A5C5B #787B79 #979998 #B6B8B6

Accessibility & contrast

On white

4.28
#787B79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#787B79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B79
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B79#FFFFFF#000000##000000
##787B791.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A79
Deuteranopia (green-blind)
#7A7A79
Tritanopia (blue-blind)
#787B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787b79;
/* rgb */ color: rgb(120, 123, 121);
/* oklch */ color: oklch(58.0% 0.005 157.2);
Tailwind
colors: {
  custom: {
    50: '#9fa19f',
    500: '#787b79',
    950: '#000000',
  },
}
SCSS
$custom: #787b79;
$custom-light: #9fa19f;
$custom-dark: #000000;
JSON
{
  "hex": "#787b79",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 140,
    "s": 1.235,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.00469,
    "h": 157.2
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#787B79
secondary
#A8A7A8
accent
#7D9BAB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787B79

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

Preview Lab → · Contrast checker → · Palette generator →

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