#5B6058#5B6058

#5B6058 is a mid, near-neutral grey. Relative luminance 0.113; OKLCH L 48.2% C 0.014 H 133.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5B6058
RGBrgb(91, 96, 88)
HSLhsl(98, 4%, 36%)
HSVhsv(98, 8%, 38%)
CMYKcmyk(5.2%, 0%, 8.3%, 62.4%)
CIE-LABlab(40.07, -3.63, 3.90)
CIE-LCHlch(40.07, 5.33, 132.99°)
OKLaboklab(48.21% -0.0097 0.0102)
OKLCHoklch(48.21% 0.014 133.5)
XYZxyz(10.2584, 11.2944, 10.8702)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6058 #5D5860
analogous
#5F6058 #5B6058 #586059
triadic
#5B6058 #585B60 #60585B
tetradic
#5B6058 #585F60 #5D5860 #605958
square
#5B6058 #585F60 #5D5860 #605958
split-complementary
#5B6058 #595860 #60585F
monochromatic
#1E201D #3D403B #5B6058 #798075 #989E95

Accessibility & contrast

On white

6.44
#5B6058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5B6058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6058
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6058#FFFFFF#000000##FFFFFF
##5B60581.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615F58
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#5B5F5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b6058;
/* rgb */ color: rgb(91, 96, 88);
/* oklch */ color: oklch(48.2% 0.014 133.5);
Tailwind
colors: {
  custom: {
    50: '#898d87',
    500: '#5b6058',
    950: '#000000',
  },
}
SCSS
$custom: #5b6058;
$custom-light: #898d87;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6058",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 88
  },
  "hsl": {
    "h": 97.5,
    "s": 4.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.01403,
    "h": 133.5
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#5B6058
secondary
#8B868D
accent
#7AAE9A
background
#F8F8F8
surface
#F0F0EF
border
#CBCBCA
text
#0B0C0B
muted
#7C7D7C

Preview Lab

Preview with #5B6058

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

Preview Lab → · Contrast checker → · Palette generator →

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