#787E79#787E79

#787E79 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.6% C 0.010 H 150.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#787E79
RGBrgb(120, 126, 121)
HSLhsl(130, 2%, 48%)
HSVhsv(130, 5%, 49%)
CMYKcmyk(4.8%, 0%, 4%, 50.6%)
CIE-LABlab(52.17, -3.25, 1.94)
CIE-LCHlch(52.17, 3.79, 149.11°)
OKLaboklab(58.65% -0.009 0.0051)
OKLCHoklch(58.65% 0.01 150.6)
XYZxyz(18.6571, 20.2951, 21.0199)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E79 #7E787D
analogous
#7A7E78 #787E79 #787E7C
triadic
#787E79 #79787E #7E7978
tetradic
#787E79 #787A7E #7E787D #7E7C78
square
#787E79 #787A7E #7E787D #7E7C78
split-complementary
#787E79 #7C787E #7E787A
monochromatic
#3C3F3D #5A5F5B #787E79 #979C98 #B6BAB7

Accessibility & contrast

On white

4.15
#787E79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#787E79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E79
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E79#FFFFFF#000000##000000
##787E791.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D79
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#777E7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e79;
/* rgb */ color: rgb(120, 126, 121);
/* oklch */ color: oklch(58.6% 0.010 150.6);
Tailwind
colors: {
  custom: {
    50: '#9fa39f',
    500: '#787e79',
    950: '#000000',
  },
}
SCSS
$custom: #787e79;
$custom-light: #9fa39f;
$custom-dark: #000000;
JSON
{
  "hex": "#787e79",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 121
  },
  "hsl": {
    "h": 130,
    "s": 2.439,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.01036,
    "h": 150.6
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#787E79
secondary
#AAA7AA
accent
#7CA4AC
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787E79

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

Preview Lab → · Contrast checker → · Palette generator →

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