#787470#787470

#787470 is a mid, near-neutral grey. Relative luminance 0.177; OKLCH L 56.1% C 0.008 H 67.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#787470
RGBrgb(120, 116, 112)
HSLhsl(30, 3%, 45%)
HSVhsv(30, 7%, 47%)
CMYKcmyk(0%, 3.3%, 6.7%, 52.9%)
CIE-LABlab(49.07, 0.76, 2.75)
CIE-LCHlch(49.07, 2.85, 74.64°)
OKLaboklab(56.13% 0.003 0.0073)
OKLCHoklch(56.13% 0.008 67.7)
XYZxyz(16.9154, 17.6538, 17.8425)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787470 #707478
analogous
#787070 #787470 #787870
triadic
#787470 #707874 #747078
tetradic
#787470 #707870 #707478 #787078
square
#787470 #707870 #707478 #787078
split-complementary
#787470 #707878 #707078
monochromatic
#393735 #585552 #787470 #96938F #B4B1AF

Accessibility & contrast

On white

4.63
#787470 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#787470 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787470
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787470#FFFFFF#000000##FFFFFF
##7874701.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757470
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#7A7373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787470;
/* rgb */ color: rgb(120, 116, 112);
/* oklch */ color: oklch(56.1% 0.008 67.7);
Tailwind
colors: {
  custom: {
    50: '#9f9c99',
    500: '#787470',
    950: '#000000',
  },
}
SCSS
$custom: #787470;
$custom-light: #9f9c99;
$custom-dark: #000000;
JSON
{
  "hex": "#787470",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 112
  },
  "hsl": {
    "h": 30,
    "s": 3.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.00785,
    "h": 67.7
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#787470
secondary
#A0A2A4
accent
#94AD7B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #787470

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

Preview Lab → · Contrast checker → · Palette generator →

#787470 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva