#5B625F#5B625F

#5B625F is a mid, near-neutral grey. Relative luminance 0.118; OKLCH L 48.9% C 0.010 H 168.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B625F
RGBrgb(91, 98, 95)
HSLhsl(154, 4%, 37%)
HSVhsv(154, 7%, 38%)
CMYKcmyk(7.1%, 0%, 3.1%, 61.6%)
CIE-LABlab(40.87, -3.36, 0.77)
CIE-LCHlch(40.87, 3.45, 167.11°)
OKLaboklab(48.9% -0.0097 0.002)
OKLCHoklch(48.9% 0.01 168.4)
XYZxyz(10.7472, 11.7856, 12.5329)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B625F #625B5E
analogous
#5B625C #5B625F #5B6262
triadic
#5B625F #5F5B62 #625F5B
tetradic
#5B625F #5C5B62 #625B5E #62625B
square
#5B625F #5C5B62 #625B5E #62625B
split-complementary
#5B625F #625B62 #625C5B
monochromatic
#202321 #3E4240 #5B625F #78827E #989F9C

Accessibility & contrast

On white

6.26
#5B625F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B625F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B625F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B625F#FFFFFF#000000##FFFFFF
##5B625F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615F
Deuteranopia (green-blind)
#60605F
Tritanopia (blue-blind)
#5A6261
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b625f;
/* rgb */ color: rgb(91, 98, 95);
/* oklch */ color: oklch(48.9% 0.010 168.4);
Tailwind
colors: {
  custom: {
    50: '#898e8c',
    500: '#5b625f',
    950: '#000000',
  },
}
SCSS
$custom: #5b625f;
$custom-light: #898e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b625f",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 95
  },
  "hsl": {
    "h": 154.286,
    "s": 3.704,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48903,
    "c": 0.0099,
    "h": 168.4
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#5B625F
secondary
#8F898C
accent
#7B90AD
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5B625F

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

Preview Lab → · Contrast checker → · Palette generator →

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