#5A6766#5A6766

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

Color values

HEX#5A6766
RGBrgb(90, 103, 102)
HSLhsl(175, 7%, 38%)
HSVhsv(175, 13%, 40%)
CMYKcmyk(12.6%, 0%, 1%, 59.6%)
CIE-LABlab(42.51, -5.16, -1.11)
CIE-LCHlch(42.51, 5.28, 192.18°)
OKLaboklab(50.25% -0.0157 -0.0031)
OKLCHoklch(50.25% 0.016 191)
XYZxyz(11.4644, 12.8332, 14.4408)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6766 #675A5B
analogous
#5A675F #5A6766 #5A6167
triadic
#5A6766 #665A67 #67665A
tetradic
#5A6766 #5F5A67 #675A5B #61675A
square
#5A6766 #5F5A67 #675A5B #61675A
split-complementary
#5A6766 #675A61 #675F5A
monochromatic
#212625 #3D4646 #5A6766 #778886 #97A4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6766#FFFFFF#000000##FFFFFF
##5A67661.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656666
Deuteranopia (green-blind)
#636466
Tritanopia (blue-blind)
#576867
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6766;
/* rgb */ color: rgb(90, 103, 102);
/* oklch */ color: oklch(50.2% 0.016 191.0);
Tailwind
colors: {
  custom: {
    50: '#889291',
    500: '#5a6766',
    950: '#000000',
  },
}
SCSS
$custom: #5a6766;
$custom-light: #889291;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6766",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 102
  },
  "hsl": {
    "h": 175.385,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.01595,
    "h": 191
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#5A6766
secondary
#94898A
accent
#787CB0
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6766

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

Preview Lab → · Contrast checker → · Palette generator →

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