#787178#787178

#787178 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.014 H 325.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#787178
RGBrgb(120, 113, 120)
HSLhsl(300, 3%, 46%)
HSVhsv(300, 6%, 47%)
CMYKcmyk(0%, 5.8%, 0%, 52.9%)
CIE-LABlab(48.46, 4.09, -2.89)
CIE-LCHlch(48.46, 5.01, 324.75°)
OKLaboklab(55.72% 0.0112 -0.0076)
OKLCHoklch(55.72% 0.014 325.8)
XYZxyz(17.0405, 17.1595, 20.1801)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787178 #717871
analogous
#747178 #787178 #787174
triadic
#787178 #787871 #717878
tetradic
#787178 #787471 #717871 #717478
square
#787178 #787471 #717871 #717478
split-complementary
#787178 #747871 #717874
monochromatic
#393639 #585358 #787178 #969096 #B4AFB4

Accessibility & contrast

On white

4.74
#787178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#787178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787178
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787178#FFFFFF#000000##FFFFFF
##7871781.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717378
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#797273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787178;
/* rgb */ color: rgb(120, 113, 120);
/* oklch */ color: oklch(55.7% 0.014 325.8);
Tailwind
colors: {
  custom: {
    50: '#9f999f',
    500: '#787178',
    950: '#000000',
  },
}
SCSS
$custom: #787178;
$custom-light: #9f999f;
$custom-dark: #000000;
JSON
{
  "hex": "#787178",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 3.004,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.0136,
    "h": 325.8
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#787178
secondary
#A0A4A0
accent
#AC7C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #787178

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

Preview Lab → · Contrast checker → · Palette generator →

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