#5A583A#5A583A

#5A583A is a mid, muted yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.046 H 104.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5A583A
RGBrgb(90, 88, 58)
HSLhsl(56, 22%, 29%)
HSVhsv(56, 36%, 35%)
CMYKcmyk(0%, 2.2%, 35.6%, 64.7%)
CIE-LABlab(36.85, -4.48, 17.73)
CIE-LCHlch(36.85, 18.29, 104.19°)
OKLaboklab(45.41% -0.0116 0.044)
OKLCHoklch(45.41% 0.046 104.8)
XYZxyz(8.4700, 9.4588, 5.3817)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A583A #3A3C5A
analogous
#5A483A #5A583A #4C5A3A
triadic
#5A583A #3A5A58 #583A5A
tetradic
#5A583A #3A5A48 #3A3C5A #5A3A4C
square
#5A583A #3A5A48 #3A3C5A #5A3A4C
split-complementary
#5A583A #3A4C5A #483A5A
monochromatic
#13120C #353422 #5A583A #7F7C52 #A19E6D

Accessibility & contrast

On white

7.26
#5A583A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5A583A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A583A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A583A#FFFFFF#000000##FFFFFF
##5A583A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5638
Deuteranopia (green-blind)
#5E573B
Tritanopia (blue-blind)
#5F5450
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a583a;
/* rgb */ color: rgb(90, 88, 58);
/* oklch */ color: oklch(45.4% 0.046 104.8);
Tailwind
colors: {
  custom: {
    50: '#898770',
    500: '#5a583a',
    950: '#000000',
  },
}
SCSS
$custom: #5a583a;
$custom-light: #898770;
$custom-dark: #000000;
JSON
{
  "hex": "#5a583a",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 58
  },
  "hsl": {
    "h": 56.25,
    "s": 21.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.04551,
    "h": 104.8
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#5A583A
secondary
#66688A
accent
#6FBE6A
background
#F8F8F6
surface
#F0EFEC
border
#CBCAC7
text
#0B0B07
muted
#7C7C7A

Preview Lab

Preview with #5A583A

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

Preview Lab → · Contrast checker → · Palette generator →

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