#5D561A#5D561A

#5D561A is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.7% C 0.080 H 102.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5D561A
RGBrgb(93, 86, 26)
HSLhsl(54, 56%, 23%)
HSVhsv(54, 72%, 36%)
CMYKcmyk(0%, 7.5%, 72%, 63.5%)
CIE-LABlab(36.09, -5.16, 34.51)
CIE-LCHlch(36.09, 34.90, 98.51°)
OKLaboklab(44.73% -0.0174 0.0776)
OKLCHoklch(44.73% 0.08 102.6)
XYZxyz(8.0288, 9.0576, 2.3025)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D561A #1A215D
analogous
#5D341A #5D561A #425D1A
triadic
#5D561A #1A5D56 #561A5D
tetradic
#5D561A #1A5D34 #1A215D #5D1A42
square
#5D561A #1A5D34 #1A215D #5D1A42
split-complementary
#5D561A #1A425D #341A5D
monochromatic
#181607 #2D2A0D #5D561A #8D8227 #BDAE35

Accessibility & contrast

On white

7.47
#5D561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D561A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D561A#FFFFFF#000000##FFFFFF
##5D561A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#64504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d561a;
/* rgb */ color: rgb(93, 86, 26);
/* oklch */ color: oklch(44.7% 0.080 102.6);
Tailwind
colors: {
  custom: {
    50: '#8d855a',
    500: '#5d561a',
    950: '#000000',
  },
}
SCSS
$custom: #5d561a;
$custom-light: #8d855a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d561a",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 53.731,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.07951,
    "h": 102.6
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#5D561A
secondary
#404993
accent
#58E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D561A

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

Preview Lab → · Contrast checker → · Palette generator →

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