#5A665A#5A665A

#5A665A is a mid, muted grey. Relative luminance 0.124; OKLCH L 49.6% C 0.024 H 145.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5A665A
RGBrgb(90, 102, 90)
HSLhsl(120, 6%, 38%)
HSVhsv(120, 12%, 40%)
CMYKcmyk(11.8%, 0%, 11.8%, 60%)
CIE-LABlab(41.87, -7.16, 5.24)
CIE-LCHlch(41.87, 8.87, 143.79°)
OKLaboklab(49.62% -0.0196 0.0136)
OKLCHoklch(49.62% 0.024 145.2)
XYZxyz(10.8129, 12.4144, 11.4974)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A665A #665A66
analogous
#60665A #5A665A #5A6660
triadic
#5A665A #5A5A66 #665A5A
tetradic
#5A665A #5A6066 #665A66 #66605A
square
#5A665A #5A6066 #665A66 #66605A
split-complementary
#5A665A #605A66 #665A60
monochromatic
#212521 #3D453D #5A665A #778777 #97A397

Accessibility & contrast

On white

6.03
#5A665A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5A665A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A665A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A665A#FFFFFF#000000##FFFFFF
##5A665A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676459
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#596562
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a665a;
/* rgb */ color: rgb(90, 102, 90);
/* oklch */ color: oklch(49.6% 0.024 145.2);
Tailwind
colors: {
  custom: {
    50: '#889188',
    500: '#5a665a',
    950: '#000000',
  },
}
SCSS
$custom: #5a665a;
$custom-light: #889188;
$custom-dark: #000000;
JSON
{
  "hex": "#5a665a",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 90
  },
  "hsl": {
    "h": 120,
    "s": 6.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.02387,
    "h": 145.2
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#5A665A
secondary
#938993
accent
#78AFAF
background
#F8F8F8
surface
#EFF0EF
border
#CACBCA
text
#0B0C0B
muted
#7C7D7C

Preview Lab

Preview with #5A665A

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

Preview Lab → · Contrast checker → · Palette generator →

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