#5A6762#5A6762

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

Color values

HEX#5A6762
RGBrgb(90, 103, 98)
HSLhsl(157, 7%, 38%)
HSVhsv(157, 13%, 40%)
CMYKcmyk(12.6%, 0%, 4.9%, 59.6%)
CIE-LABlab(42.39, -6.05, 1.14)
CIE-LCHlch(42.39, 6.16, 169.30°)
OKLaboklab(50.11% -0.0175 0.0029)
OKLCHoklch(50.11% 0.018 170.4)
XYZxyz(11.2708, 12.7558, 13.4212)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6762 #675A5F
analogous
#5A675B #5A6762 #5A6567
triadic
#5A6762 #625A67 #67625A
tetradic
#5A6762 #5B5A67 #675A5F #65675A
square
#5A6762 #5B5A67 #675A5F #65675A
split-complementary
#5A6762 #675A65 #675B5A
monochromatic
#212624 #3D4643 #5A6762 #778881 #97A49F

Accessibility & contrast

On white

5.91
#5A6762 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6762
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6762#FFFFFF#000000##FFFFFF
##5A67621.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666562
Deuteranopia (green-blind)
#646362
Tritanopia (blue-blind)
#576765
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a6762;
/* rgb */ color: rgb(90, 103, 98);
/* oklch */ color: oklch(50.1% 0.018 170.4);
Tailwind
colors: {
  custom: {
    50: '#88928e',
    500: '#5a6762',
    950: '#000000',
  },
}
SCSS
$custom: #5a6762;
$custom-light: #88928e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6762",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 98
  },
  "hsl": {
    "h": 156.923,
    "s": 6.736,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.01772,
    "h": 170.4
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#5A6762
secondary
#94898D
accent
#788DB0
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0D0C
muted
#7C7D7D

Preview Lab

Preview with #5A6762

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

Preview Lab → · Contrast checker → · Palette generator →

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