#5A5656#5A5656

#5A5656 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.7% C 0.005 H 17.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5A5656
RGBrgb(90, 86, 86)
HSLhsl(0, 2%, 35%)
HSVhsv(0, 4%, 35%)
CMYKcmyk(0%, 4.4%, 4.4%, 64.7%)
CIE-LABlab(36.93, 1.61, 0.58)
CIE-LCHlch(36.93, 1.71, 19.65°)
OKLaboklab(45.69% 0.005 0.0016)
OKLCHoklch(45.69% 0.005 17.3)
XYZxyz(9.2237, 9.5012, 10.1503)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5656 #565A5A
analogous
#5A5658 #5A5656 #5A5856
triadic
#5A5656 #565A56 #56565A
tetradic
#5A5656 #585A56 #565A5A #58565A
square
#5A5656 #585A56 #565A5A #58565A
split-complementary
#5A5656 #565A58 #56585A
monochromatic
#1B1A1A #3B3838 #5A5656 #797474 #989393

Accessibility & contrast

On white

7.24
#5A5656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5A5656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5656
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5656#FFFFFF#000000##FFFFFF
##5A56561.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575656
Deuteranopia (green-blind)
#575756
Tritanopia (blue-blind)
#5B5656
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a5656;
/* rgb */ color: rgb(90, 86, 86);
/* oklch */ color: oklch(45.7% 0.005 17.3);
Tailwind
colors: {
  custom: {
    50: '#888585',
    500: '#5a5656',
    950: '#000000',
  },
}
SCSS
$custom: #5a5656;
$custom-light: #888585;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5656",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 86
  },
  "hsl": {
    "h": 0,
    "s": 2.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.00521,
    "h": 17.3
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#5A5656
secondary
#848888
accent
#ACAC7C
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0B0B0B
muted
#7C7C7C

Preview Lab

Preview with #5A5656

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

Preview Lab → · Contrast checker → · Palette generator →

#5A5656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva