#515656#515656

#515656 is a dark, near-neutral grey. Relative luminance 0.091; OKLCH L 44.9% C 0.006 H 196.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#515656
RGBrgb(81, 86, 86)
HSLhsl(180, 3%, 33%)
HSVhsv(180, 6%, 34%)
CMYKcmyk(5.8%, 0%, 0%, 66.3%)
CIE-LABlab(36.13, -1.99, -0.69)
CIE-LCHlch(36.13, 2.10, 199.12°)
OKLaboklab(44.87% -0.0061 -0.0019)
OKLCHoklch(44.87% 0.006 196.9)
XYZxyz(8.4005, 9.0767, 10.1117)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515656 #565151
analogous
#515653 #515656 #515356
triadic
#515656 #565156 #565651
tetradic
#515656 #535156 #565151 #535651
square
#515656 #535156 #565151 #535651
split-complementary
#515656 #565153 #565351
monochromatic
#161717 #333636 #515656 #6F7676 #8D9494

Accessibility & contrast

On white

7.46
#515656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#515656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515656
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515656#FFFFFF#000000##FFFFFF
##5156561.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555556
Deuteranopia (green-blind)
#545556
Tritanopia (blue-blind)
#505656
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515656;
/* rgb */ color: rgb(81, 86, 86);
/* oklch */ color: oklch(44.9% 0.006 196.9);
Tailwind
colors: {
  custom: {
    50: '#818585',
    500: '#515656',
    950: '#000000',
  },
}
SCSS
$custom: #515656;
$custom-light: #818585;
$custom-dark: #000000;
JSON
{
  "hex": "#515656",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 86
  },
  "hsl": {
    "h": 180,
    "s": 2.994,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44866,
    "c": 0.0064,
    "h": 196.9
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#515656
secondary
#847F7F
accent
#7C7CAC
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #515656

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

Preview Lab → · Contrast checker → · Palette generator →

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