#5A583C#5A583C

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

Color values

HEX#5A583C
RGBrgb(90, 88, 60)
HSLhsl(56, 20%, 29%)
HSVhsv(56, 33%, 35%)
CMYKcmyk(0%, 2.2%, 33.3%, 64.7%)
CIE-LABlab(36.89, -4.19, 16.57)
CIE-LCHlch(36.89, 17.10, 104.20°)
OKLaboklab(45.45% -0.0107 0.0414)
OKLCHoklch(45.45% 0.043 104.5)
XYZxyz(8.5218, 9.4795, 5.6549)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A583C #3C3E5A
analogous
#5A493C #5A583C #4D5A3C
triadic
#5A583C #3C5A58 #583C5A
tetradic
#5A583C #3C5A49 #3C3E5A #5A3C4D
square
#5A583C #3C5A49 #3C3E5A #5A3C4D
split-complementary
#5A583C #3C4D5A #493C5A
monochromatic
#12120C #353424 #5A583C #7F7C54 #A09D70

Accessibility & contrast

On white

7.25
#5A583C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5A583C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A583C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A583C#FFFFFF#000000##FFFFFF
##5A583C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D563A
Deuteranopia (green-blind)
#5E573D
Tritanopia (blue-blind)
#5E5451
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5a583c;
/* rgb */ color: rgb(90, 88, 60);
/* oklch */ color: oklch(45.4% 0.043 104.5);
Tailwind
colors: {
  custom: {
    50: '#898772',
    500: '#5a583c',
    950: '#000000',
  },
}
SCSS
$custom: #5a583c;
$custom-light: #898772;
$custom-dark: #000000;
JSON
{
  "hex": "#5a583c",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 60
  },
  "hsl": {
    "h": 56,
    "s": 20,
    "l": 29.412
  },
  "oklch": {
    "l": 0.45449,
    "c": 0.04271,
    "h": 104.5
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#5A583C
secondary
#686A8A
accent
#71BD6B
background
#F8F8F6
surface
#F0EFEC
border
#CBCAC7
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #5A583C

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

Preview Lab → · Contrast checker → · Palette generator →

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