#788A8A#788A8A

#788A8A is a mid, muted grey. Relative luminance 0.240; OKLCH L 61.9% C 0.021 H 196.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#788A8A
RGBrgb(120, 138, 138)
HSLhsl(180, 7%, 51%)
HSVhsv(180, 13%, 54%)
CMYKcmyk(13%, 0%, 0%, 45.9%)
CIE-LABlab(56.09, -6.47, -2.19)
CIE-LCHlch(56.09, 6.83, 198.73°)
OKLaboklab(61.9% -0.02 -0.006)
OKLCHoklch(61.9% 0.021 196.6)
XYZxyz(21.4205, 24.0045, 27.5446)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788A8A #8A7878
analogous
#788A81 #788A8A #78818A
triadic
#788A8A #8A788A #8A8A78
tetradic
#788A8A #81788A #8A7878 #818A78
square
#788A8A #81788A #8A7878 #818A78
split-complementary
#788A8A #8A7881 #8A8178
monochromatic
#3F4949 #5B6969 #788A8A #99A6A6 #BAC3C3

Accessibility & contrast

On white

3.62
#788A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#788A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788A8A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788A8A#FFFFFF#000000##000000
##788A8A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#738B8A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #788a8a;
/* rgb */ color: rgb(120, 138, 138);
/* oklch */ color: oklch(61.9% 0.021 196.6);
Tailwind
colors: {
  custom: {
    50: '#9facac',
    500: '#788a8a',
    950: '#000000',
  },
}
SCSS
$custom: #788a8a;
$custom-light: #9facac;
$custom-dark: #000000;
JSON
{
  "hex": "#788a8a",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61904,
    "c": 0.02083,
    "h": 196.6
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#788A8A
secondary
#B3ABAB
accent
#7878B0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E1010
muted
#7E7F7F

Preview Lab

Preview with #788A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#788A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva