#5A6761#5A6761

#5A6761 is a mid, near-neutral grey. Relative luminance 0.127; OKLCH L 50.1% C 0.018 H 166.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A6761
RGBrgb(90, 103, 97)
HSLhsl(152, 7%, 38%)
HSVhsv(152, 13%, 40%)
CMYKcmyk(12.6%, 0%, 5.8%, 59.6%)
CIE-LABlab(42.36, -6.27, 1.71)
CIE-LCHlch(42.36, 6.49, 164.75°)
OKLaboklab(50.08% -0.0179 0.0044)
OKLCHoklch(50.08% 0.018 166.1)
XYZxyz(11.2239, 12.7370, 13.1741)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6761 #675A60
analogous
#5A675A #5A6761 #5A6667
triadic
#5A6761 #615A67 #67615A
tetradic
#5A6761 #5A5A67 #675A60 #66675A
square
#5A6761 #5A5A67 #675A60 #66675A
split-complementary
#5A6761 #675A66 #675A5A
monochromatic
#212623 #3D4642 #5A6761 #778880 #97A49E

Accessibility & contrast

On white

5.92
#5A6761 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A6761 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6761
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6761#FFFFFF#000000##FFFFFF
##5A67611.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6761;
/* rgb */ color: rgb(90, 103, 97);
/* oklch */ color: oklch(50.1% 0.018 166.1);
Tailwind
colors: {
  custom: {
    50: '#88928d',
    500: '#5a6761',
    950: '#000000',
  },
}
SCSS
$custom: #5a6761;
$custom-light: #88928d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6761",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 97
  },
  "hsl": {
    "h": 152.308,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.01847,
    "h": 166.1
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#5A6761
secondary
#94898E
accent
#7892B0
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6761

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

Preview Lab → · Contrast checker → · Palette generator →

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