#5A6765#5A6765

#5A6765 is a mid, near-neutral grey. Relative luminance 0.128; OKLCH L 50.2% C 0.016 H 185.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A6765
RGBrgb(90, 103, 101)
HSLhsl(171, 7%, 38%)
HSVhsv(171, 13%, 40%)
CMYKcmyk(12.6%, 0%, 1.9%, 59.6%)
CIE-LABlab(42.48, -5.38, -0.55)
CIE-LCHlch(42.48, 5.41, 185.83°)
OKLaboklab(50.21% -0.0161 -0.0015)
OKLCHoklch(50.21% 0.016 185.5)
XYZxyz(11.4151, 12.8135, 14.1812)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6765 #675A5C
analogous
#5A675E #5A6765 #5A6267
triadic
#5A6765 #655A67 #67655A
tetradic
#5A6765 #5E5A67 #675A5C #62675A
square
#5A6765 #5E5A67 #675A5C #62675A
split-complementary
#5A6765 #675A62 #675E5A
monochromatic
#212625 #3D4645 #5A6765 #778885 #97A4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6765#FFFFFF#000000##FFFFFF
##5A67651.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)
#666565
Deuteranopia (green-blind)
#636365
Tritanopia (blue-blind)
#576866
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6765;
/* rgb */ color: rgb(90, 103, 101);
/* oklch */ color: oklch(50.2% 0.016 185.5);
Tailwind
colors: {
  custom: {
    50: '#889290',
    500: '#5a6765',
    950: '#000000',
  },
}
SCSS
$custom: #5a6765;
$custom-light: #889290;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6765",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 101
  },
  "hsl": {
    "h": 170.769,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.01618,
    "h": 185.5
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#5A6765
secondary
#94898B
accent
#7881B0
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6765

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

Preview Lab → · Contrast checker → · Palette generator →

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