#5A5C4E#5A5C4E

#5A5C4E is a mid, muted yellow. Relative luminance 0.104; OKLCH L 46.9% C 0.022 H 113.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5A5C4E
RGBrgb(90, 92, 78)
HSLhsl(69, 8%, 33%)
HSVhsv(69, 15%, 36%)
CMYKcmyk(2.2%, 0%, 15.2%, 63.9%)
CIE-LABlab(38.51, -3.59, 7.80)
CIE-LCHlch(38.51, 8.59, 114.72°)
OKLaboklab(46.86% -0.0089 0.0202)
OKLCHoklch(46.86% 0.022 113.9)
XYZxyz(9.4186, 10.3781, 8.7132)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5C4E #504E5C
analogous
#5C574E #5A5C4E #535C4E
triadic
#5A5C4E #4E5A5C #5C4E5A
tetradic
#5A5C4E #4E5C57 #504E5C #5C4E53
square
#5A5C4E #4E5C57 #504E5C #5C4E53
split-complementary
#5A5C4E #4E535C #574E5C
monochromatic
#191A16 #3A3B32 #5A5C4E #7A7D6A #999B89

Accessibility & contrast

On white

6.83
#5A5C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5A5C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5C4E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5C4E#FFFFFF#000000##FFFFFF
##5A5C4E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4D
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#5C5A58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a5c4e;
/* rgb */ color: rgb(90, 92, 78);
/* oklch */ color: oklch(46.9% 0.022 113.9);
Tailwind
colors: {
  custom: {
    50: '#888a7f',
    500: '#5a5c4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a5c4e;
$custom-light: #888a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5c4e",
  "rgb": {
    "r": 90,
    "g": 92,
    "b": 78
  },
  "hsl": {
    "h": 68.571,
    "s": 8.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.02205,
    "h": 113.9
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#5A5C4E
secondary
#7E7C8A
accent
#77B17F
background
#F8F8F7
surface
#EFF0EE
border
#CACBC9
text
#0B0B0A
muted
#7C7C7C

Preview Lab

Preview with #5A5C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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