#5A6760#5A6760

#5A6760 is a mid, near-neutral grey. Relative luminance 0.127; OKLCH L 50.0% C 0.019 H 162.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5A6760
RGBrgb(90, 103, 96)
HSLhsl(148, 7%, 38%)
HSVhsv(148, 13%, 40%)
CMYKcmyk(12.6%, 0%, 6.8%, 59.6%)
CIE-LABlab(42.34, -6.48, 2.27)
CIE-LCHlch(42.34, 6.87, 160.67°)
OKLaboklab(50.05% -0.0184 0.0059)
OKLCHoklch(50.05% 0.019 162.2)
XYZxyz(11.1775, 12.7185, 12.9301)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6760 #675A61
analogous
#5A675A #5A6760 #5A6766
triadic
#5A6760 #605A67 #67605A
tetradic
#5A6760 #5A5A67 #675A61 #67665A
square
#5A6760 #5A5A67 #675A61 #67665A
split-complementary
#5A6760 #665A67 #675A5A
monochromatic
#212623 #3D4642 #5A6760 #77887E #97A49D

Accessibility & contrast

On white

5.93
#5A6760 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5A6760 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6760
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6760#FFFFFF#000000##FFFFFF
##5A67601.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676560
Deuteranopia (green-blind)
#646360
Tritanopia (blue-blind)
#586765
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6760;
/* rgb */ color: rgb(90, 103, 96);
/* oklch */ color: oklch(50.0% 0.019 162.2);
Tailwind
colors: {
  custom: {
    50: '#88928d',
    500: '#5a6760',
    950: '#000000',
  },
}
SCSS
$custom: #5a6760;
$custom-light: #88928d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6760",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 96
  },
  "hsl": {
    "h": 147.692,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.01932,
    "h": 162.2
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#5A6760
secondary
#94898F
accent
#7896B0
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6760

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

Preview Lab → · Contrast checker → · Palette generator →

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