#5B554F#5B554F

#5B554F is a mid, near-neutral grey. Relative luminance 0.093; OKLCH L 45.3% C 0.012 H 67.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5B554F
RGBrgb(91, 85, 79)
HSLhsl(30, 7%, 33%)
HSVhsv(30, 13%, 36%)
CMYKcmyk(0%, 6.6%, 13.2%, 64.3%)
CIE-LABlab(36.53, 1.26, 4.37)
CIE-LCHlch(36.53, 4.55, 73.93°)
OKLaboklab(45.33% 0.0047 0.0115)
OKLCHoklch(45.33% 0.012 67.5)
XYZxyz(8.9741, 9.2858, 8.7152)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B554F #4F555B
analogous
#5B4F4F #5B554F #5B5B4F
triadic
#5B554F #4F5B55 #554F5B
tetradic
#5B554F #4F5B4F #4F555B #5B4F5B
square
#5B554F #4F5B4F #4F555B #5B4F5B
split-complementary
#5B554F #4F5B5B #4F4F5B
monochromatic
#191816 #3A3633 #5B554F #7C746B #9A928B

Accessibility & contrast

On white

7.35
#5B554F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5B554F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B554F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B554F#FFFFFF#000000##FFFFFF
##5B554F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554F
Deuteranopia (green-blind)
#59564F
Tritanopia (blue-blind)
#5D5453
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b554f;
/* rgb */ color: rgb(91, 85, 79);
/* oklch */ color: oklch(45.3% 0.012 67.5);
Tailwind
colors: {
  custom: {
    50: '#898480',
    500: '#5b554f',
    950: '#000000',
  },
}
SCSS
$custom: #5b554f;
$custom-light: #898480;
$custom-dark: #000000;
JSON
{
  "hex": "#5b554f",
  "rgb": {
    "r": 91,
    "g": 85,
    "b": 79
  },
  "hsl": {
    "h": 30,
    "s": 7.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.0124,
    "h": 67.5
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#5B554F
secondary
#7D8389
accent
#94B078
background
#F8F8F7
surface
#F0EFEE
border
#CBCAC9
text
#0B0B0A
muted
#7C7C7C

Preview Lab

Preview with #5B554F

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

Preview Lab → · Contrast checker → · Palette generator →

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