#787E72#787E72

#787E72 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.4% C 0.019 H 128.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#787E72
RGBrgb(120, 126, 114)
HSLhsl(90, 5%, 47%)
HSVhsv(90, 10%, 49%)
CMYKcmyk(4.8%, 0%, 9.5%, 50.6%)
CIE-LABlab(51.98, -4.61, 5.76)
CIE-LCHlch(51.98, 7.38, 128.66°)
OKLaboklab(58.44% -0.0121 0.015)
OKLCHoklch(58.44% 0.019 128.8)
XYZxyz(18.2434, 20.1296, 18.8406)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E72 #78727E
analogous
#7E7E72 #787E72 #727E72
triadic
#787E72 #72787E #7E7278
tetradic
#787E72 #727E7E #78727E #7E7272
square
#787E72 #727E7E #78727E #7E7272
split-complementary
#787E72 #72727E #7E727E
monochromatic
#3B3E38 #595E55 #787E72 #979C91 #B5B9B2

Accessibility & contrast

On white

4.18
#787E72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#787E72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E72
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E72#FFFFFF#000000##000000
##787E721.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7C71
Deuteranopia (green-blind)
#7E7C72
Tritanopia (blue-blind)
#797D7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787e72;
/* rgb */ color: rgb(120, 126, 114);
/* oklch */ color: oklch(58.4% 0.019 128.8);
Tailwind
colors: {
  custom: {
    50: '#9fa39a',
    500: '#787e72',
    950: '#000000',
  },
}
SCSS
$custom: #787e72;
$custom-light: #9fa39a;
$custom-dark: #000000;
JSON
{
  "hex": "#787e72",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 114
  },
  "hsl": {
    "h": 90,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.0193,
    "h": 128.8
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#787E72
secondary
#A6A3A9
accent
#7AAE94
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #787E72

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

Preview Lab → · Contrast checker → · Palette generator →

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