#5A6764#5A6764

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

Color values

HEX#5A6764
RGBrgb(90, 103, 100)
HSLhsl(166, 7%, 38%)
HSVhsv(166, 13%, 40%)
CMYKcmyk(12.6%, 0%, 2.9%, 59.6%)
CIE-LABlab(42.45, -5.61, 0.01)
CIE-LCHlch(42.45, 5.61, 179.86°)
OKLaboklab(50.18% -0.0166 0)
OKLCHoklch(50.18% 0.017 180.2)
XYZxyz(11.3664, 12.7940, 13.9248)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6764 #675A5D
analogous
#5A675D #5A6764 #5A6367
triadic
#5A6764 #645A67 #67645A
tetradic
#5A6764 #5D5A67 #675A5D #63675A
square
#5A6764 #5D5A67 #675A5D #63675A
split-complementary
#5A6764 #675A63 #675D5A
monochromatic
#212625 #3D4644 #5A6764 #778884 #97A4A1

Accessibility & contrast

On white

5.90
#5A6764 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6764
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6764#FFFFFF#000000##FFFFFF
##5A67641.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666564
Deuteranopia (green-blind)
#636364
Tritanopia (blue-blind)
#576866
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6764;
/* rgb */ color: rgb(90, 103, 100);
/* oklch */ color: oklch(50.2% 0.017 180.2);
Tailwind
colors: {
  custom: {
    50: '#889290',
    500: '#5a6764',
    950: '#000000',
  },
}
SCSS
$custom: #5a6764;
$custom-light: #889290;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6764",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 100
  },
  "hsl": {
    "h": 166.154,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.01656,
    "h": 180.2
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#5A6764
secondary
#94898C
accent
#7885B0
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6764

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

Preview Lab → · Contrast checker → · Palette generator →

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