#5A561D#5A561D

#5A561D is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.077 H 105.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5A561D
RGBrgb(90, 86, 29)
HSLhsl(56, 51%, 23%)
HSVhsv(56, 68%, 35%)
CMYKcmyk(0%, 4.4%, 67.8%, 64.7%)
CIE-LABlab(35.83, -6.42, 32.70)
CIE-LCHlch(35.83, 33.33, 101.11°)
OKLaboklab(44.46% -0.0203 0.0744)
OKLCHoklch(44.46% 0.077 105.3)
XYZxyz(7.7663, 8.9182, 2.4745)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A561D #1D215A
analogous
#5A371D #5A561D #3F5A1D
triadic
#5A561D #1D5A56 #561D5A
tetradic
#5A561D #1D5A37 #1D215A #5A1D3F
square
#5A561D #1D5A37 #1D215A #5A1D3F
split-complementary
#5A561D #1D3F5A #371D5A
monochromatic
#171607 #2C2A0E #5A561D #88822C #B7AE3B

Accessibility & contrast

On white

7.54
#5A561D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5A561D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A561D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A561D#FFFFFF#000000##FFFFFF
##5A561D1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5316
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#61504A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a561d;
/* rgb */ color: rgb(90, 86, 29);
/* oklch */ color: oklch(44.5% 0.077 105.3);
Tailwind
colors: {
  custom: {
    50: '#8b855c',
    500: '#5a561d',
    950: '#000000',
  },
}
SCSS
$custom: #5a561d;
$custom-light: #8b855c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a561d",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 29
  },
  "hsl": {
    "h": 56.066,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.07713,
    "h": 105.3
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#5A561D
secondary
#44498F
accent
#56DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5A561D

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

Preview Lab → · Contrast checker → · Palette generator →

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