#5A685E#5A685E

#5A685E is a mid, muted grey. Relative luminance 0.129; OKLCH L 50.2% C 0.023 H 154.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5A685E
RGBrgb(90, 104, 94)
HSLhsl(137, 7%, 38%)
HSVhsv(137, 13%, 41%)
CMYKcmyk(13.5%, 0%, 9.6%, 59.2%)
CIE-LABlab(42.59, -7.49, 3.85)
CIE-LCHlch(42.59, 8.42, 152.82°)
OKLaboklab(50.23% -0.0209 0.01)
OKLCHoklch(50.23% 0.023 154.4)
XYZxyz(11.1867, 12.8822, 12.4847)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A685E #685A64
analogous
#5D685A #5A685E #5A6865
triadic
#5A685E #5E5A68 #685E5A
tetradic
#5A685E #5A5D68 #685A64 #68655A
square
#5A685E #5A5D68 #685A64 #68655A
split-complementary
#5A685E #655A68 #685A5D
monochromatic
#212623 #3E4740 #5A685E #76897C #97A59B

Accessibility & contrast

On white

5.87
#5A685E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5A685E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A685E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A685E#FFFFFF#000000##FFFFFF
##5A685E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68665E
Deuteranopia (green-blind)
#65645F
Tritanopia (blue-blind)
#586865
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a685e;
/* rgb */ color: rgb(90, 104, 94);
/* oklch */ color: oklch(50.2% 0.023 154.4);
Tailwind
colors: {
  custom: {
    50: '#88938b',
    500: '#5a685e',
    950: '#000000',
  },
}
SCSS
$custom: #5a685e;
$custom-light: #88938b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a685e",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 94
  },
  "hsl": {
    "h": 137.143,
    "s": 7.216,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.02317,
    "h": 154.4
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#5A685E
secondary
#958991
accent
#78A0B0
background
#F8F9F8
surface
#EFF1F0
border
#CACBCB
text
#0B0D0C
muted
#7C7E7D

Preview Lab

Preview with #5A685E

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

Preview Lab → · Contrast checker → · Palette generator →

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