#787C70#787C70

#787C70 is a mid, near-neutral grey. Relative luminance 0.196; OKLCH L 57.9% C 0.019 H 122.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#787C70
RGBrgb(120, 124, 112)
HSLhsl(80, 5%, 46%)
HSVhsv(80, 10%, 49%)
CMYKcmyk(3.2%, 0%, 9.7%, 51.4%)
CIE-LABlab(51.36, -3.85, 6.04)
CIE-LCHlch(51.36, 7.16, 122.54°)
OKLaboklab(57.93% -0.0098 0.0157)
OKLCHoklch(57.93% 0.019 122)
XYZxyz(17.8776, 19.5782, 18.1632)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C70 #74707C
analogous
#7C7A70 #787C70 #727C70
triadic
#787C70 #70787C #7C7078
tetradic
#787C70 #707C7A #74707C #7C7072
square
#787C70 #707C7A #74707C #7C7072
split-complementary
#787C70 #70727C #7A707C
monochromatic
#3A3C36 #595C53 #787C70 #969A8F #B4B7AF

Accessibility & contrast

On white

4.27
#787C70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#787C70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C70
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C70#FFFFFF#000000##000000
##787C701.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7A6F
Deuteranopia (green-blind)
#7D7A70
Tritanopia (blue-blind)
#797B78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787c70;
/* rgb */ color: rgb(120, 124, 112);
/* oklch */ color: oklch(57.9% 0.019 122.0);
Tailwind
colors: {
  custom: {
    50: '#9fa199',
    500: '#787c70',
    950: '#000000',
  },
}
SCSS
$custom: #787c70;
$custom-light: #9fa199;
$custom-dark: #000000;
JSON
{
  "hex": "#787c70",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 112
  },
  "hsl": {
    "h": 80,
    "s": 5.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.01856,
    "h": 122
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#787C70
secondary
#A3A1A7
accent
#7AAE8B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0D
muted
#7E7E7E

Preview Lab

Preview with #787C70

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

Preview Lab → · Contrast checker → · Palette generator →

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