#5D571A#5D571A

#5D571A is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.081 H 103.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5D571A
RGBrgb(93, 87, 26)
HSLhsl(55, 56%, 23%)
HSVhsv(55, 72%, 36%)
CMYKcmyk(0%, 6.5%, 72%, 63.5%)
CIE-LABlab(36.40, -5.75, 34.83)
CIE-LCHlch(36.40, 35.30, 99.38°)
OKLaboklab(44.98% -0.019 0.0783)
OKLCHoklch(44.98% 0.081 103.7)
XYZxyz(8.1092, 9.2184, 2.3293)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D571A #1A205D
analogous
#5D351A #5D571A #415D1A
triadic
#5D571A #1A5D57 #571A5D
tetradic
#5D571A #1A5D35 #1A205D #5D1A41
square
#5D571A #1A5D35 #1A205D #5D1A41
split-complementary
#5D571A #1A415D #351A5D
monochromatic
#181607 #2D2A0D #5D571A #8D8427 #BDB035

Accessibility & contrast

On white

7.39
#5D571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5D571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D571A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D571A#FFFFFF#000000##FFFFFF
##5D571A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#64514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d571a;
/* rgb */ color: rgb(93, 87, 26);
/* oklch */ color: oklch(45.0% 0.081 103.7);
Tailwind
colors: {
  custom: {
    50: '#8d865a',
    500: '#5d571a',
    950: '#000000',
  },
}
SCSS
$custom: #5d571a;
$custom-light: #8d865a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d571a",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 54.627,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.08053,
    "h": 103.7
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#5D571A
secondary
#404793
accent
#56E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D571A

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

Preview Lab → · Contrast checker → · Palette generator →

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