#78887F#78887F

#78887F is a mid, muted grey. Relative luminance 0.231; OKLCH L 61.1% C 0.023 H 161.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#78887F
RGBrgb(120, 136, 127)
HSLhsl(146, 6%, 50%)
HSVhsv(146, 12%, 53%)
CMYKcmyk(11.8%, 0%, 6.6%, 46.7%)
CIE-LABlab(55.21, -7.67, 2.86)
CIE-LCHlch(55.21, 8.19, 159.52°)
OKLaboklab(61.1% -0.0217 0.0075)
OKLCHoklch(61.1% 0.023 161.1)
XYZxyz(20.3798, 23.1334, 23.4660)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78887F #887881
analogous
#798878 #78887F #788887
triadic
#78887F #7F7888 #887F78
tetradic
#78887F #787988 #887881 #888778
square
#78887F #787988 #887881 #888778
split-complementary
#78887F #877888 #887879
monochromatic
#3F4742 #5B6861 #78887F #99A59E #B9C1BD

Accessibility & contrast

On white

3.73
#78887F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#78887F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78887F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78887F#FFFFFF#000000##000000
##78887F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857F
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#758885
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #78887f;
/* rgb */ color: rgb(120, 136, 127);
/* oklch */ color: oklch(61.1% 0.023 161.1);
Tailwind
colors: {
  custom: {
    50: '#9faaa4',
    500: '#78887f',
    950: '#000000',
  },
}
SCSS
$custom: #78887f;
$custom-light: #9faaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#78887f",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 127
  },
  "hsl": {
    "h": 146.25,
    "s": 6.299,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.02296,
    "h": 161.1
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#78887F
secondary
#B1AAAE
accent
#7897AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E100F
muted
#7E7F7F

Preview Lab

Preview with #78887F

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

Preview Lab → · Contrast checker → · Palette generator →

#78887F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva