#5D511A#5D511A

#5D511A is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.075 H 96.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5D511A
RGBrgb(93, 81, 26)
HSLhsl(49, 56%, 23%)
HSVhsv(49, 72%, 36%)
CMYKcmyk(0%, 12.9%, 72%, 63.5%)
CIE-LABlab(34.57, -2.17, 32.94)
CIE-LCHlch(34.57, 33.01, 93.77°)
OKLaboklab(43.53% -0.0088 0.0743)
OKLCHoklch(43.53% 0.075 96.8)
XYZxyz(7.6434, 8.2870, 2.1740)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D511A #1A265D
analogous
#5D2F1A #5D511A #475D1A
triadic
#5D511A #1A5D51 #511A5D
tetradic
#5D511A #1A5D2F #1A265D #5D1A47
square
#5D511A #1A5D2F #1A265D #5D1A47
split-complementary
#5D511A #1A475D #2F1A5D
monochromatic
#181507 #2D270D #5D511A #8D7B27 #BDA435

Accessibility & contrast

On white

7.90
#5D511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5D511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D511A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D511A#FFFFFF#000000##FFFFFF
##5D511A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F13
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d511a;
/* rgb */ color: rgb(93, 81, 26);
/* oklch */ color: oklch(43.5% 0.075 96.8);
Tailwind
colors: {
  custom: {
    50: '#8d815a',
    500: '#5d511a',
    950: '#000000',
  },
}
SCSS
$custom: #5d511a;
$custom-light: #8d815a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d511a",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 49.254,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43526,
    "c": 0.07478,
    "h": 96.8
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#5D511A
secondary
#404F93
accent
#63E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D511A

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

Preview Lab → · Contrast checker → · Palette generator →

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