#5A685A#5A685A

#5A685A is a mid, muted grey. Relative luminance 0.128; OKLCH L 50.1% C 0.028 H 145.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A685A
RGBrgb(90, 104, 90)
HSLhsl(120, 7%, 38%)
HSVhsv(120, 13%, 41%)
CMYKcmyk(13.5%, 0%, 13.5%, 59.2%)
CIE-LABlab(42.48, -8.32, 6.11)
CIE-LCHlch(42.48, 10.32, 143.68°)
OKLaboklab(50.11% -0.0228 0.0159)
OKLCHoklch(50.11% 0.028 145.1)
XYZxyz(11.0118, 12.8123, 11.5637)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A685A #685A68
analogous
#61685A #5A685A #5A6861
triadic
#5A685A #5A5A68 #685A5A
tetradic
#5A685A #5A6168 #685A68 #68615A
square
#5A685A #5A6168 #685A68 #68615A
split-complementary
#5A685A #615A68 #685A61
monochromatic
#212621 #3E473E #5A685A #768976 #97A597

Accessibility & contrast

On white

5.89
#5A685A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A685A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A685A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A685A#FFFFFF#000000##FFFFFF
##5A685A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696559
Deuteranopia (green-blind)
#66645B
Tritanopia (blue-blind)
#596764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a685a;
/* rgb */ color: rgb(90, 104, 90);
/* oklch */ color: oklch(50.1% 0.028 145.1);
Tailwind
colors: {
  custom: {
    50: '#889388',
    500: '#5a685a',
    950: '#000000',
  },
}
SCSS
$custom: #5a685a;
$custom-light: #889388;
$custom-dark: #000000;
JSON
{
  "hex": "#5a685a",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 90
  },
  "hsl": {
    "h": 120,
    "s": 7.216,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.02775,
    "h": 145.1
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#5A685A
secondary
#958995
accent
#78B0B0
background
#F8F9F8
surface
#F0F1EF
border
#CBCBCA
text
#0B0D0B
muted
#7C7E7C

Preview Lab

Preview with #5A685A

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

Preview Lab → · Contrast checker → · Palette generator →

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