#5A6768#5A6768

#5A6768 is a mid, near-neutral grey. Relative luminance 0.129; OKLCH L 50.3% C 0.016 H 202.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5A6768
RGBrgb(90, 103, 104)
HSLhsl(184, 7%, 38%)
HSVhsv(184, 13%, 41%)
CMYKcmyk(13.5%, 1%, 0%, 59.2%)
CIE-LABlab(42.57, -4.70, -2.24)
CIE-LCHlch(42.57, 5.21, 205.45°)
OKLaboklab(50.32% -0.0148 -0.0061)
OKLCHoklch(50.32% 0.016 202.3)
XYZxyz(11.5648, 12.8734, 14.9695)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6768 #685B5A
analogous
#5A6862 #5A6768 #5A6068
triadic
#5A6768 #685A67 #67685A
tetradic
#5A6768 #625A68 #685B5A #60685A
square
#5A6768 #625A68 #685B5A #60685A
split-complementary
#5A6768 #685A60 #68625A
monochromatic
#212626 #3E4747 #5A6768 #768789 #97A4A5

Accessibility & contrast

On white

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

On black

3.57
#5A6768 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A6768#FFFFFF#000000##FFFFFF
##5A67681.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656668
Deuteranopia (green-blind)
#626468
Tritanopia (blue-blind)
#566867
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6768;
/* rgb */ color: rgb(90, 103, 104);
/* oklch */ color: oklch(50.3% 0.016 202.3);
Tailwind
colors: {
  custom: {
    50: '#889293',
    500: '#5a6768',
    950: '#000000',
  },
}
SCSS
$custom: #5a6768;
$custom-light: #889293;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6768",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 104
  },
  "hsl": {
    "h": 184.286,
    "s": 7.216,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.01596,
    "h": 202.3
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#5A6768
secondary
#958A89
accent
#7C78B0
background
#F8F8F9
surface
#F0F0F1
border
#CBCBCB
text
#0B0D0D
muted
#7C7D7E

Preview Lab

Preview with #5A6768

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

Preview Lab → · Contrast checker → · Palette generator →

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