#5D541A#5D541A

#5D541A is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.078 H 100.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5D541A
RGBrgb(93, 84, 26)
HSLhsl(52, 56%, 23%)
HSVhsv(52, 72%, 36%)
CMYKcmyk(0%, 9.7%, 72%, 63.5%)
CIE-LABlab(35.48, -3.97, 33.88)
CIE-LCHlch(35.48, 34.11, 96.69°)
OKLaboklab(44.25% -0.014 0.0763)
OKLCHoklch(44.25% 0.078 100.4)
XYZxyz(7.8713, 8.7427, 2.2500)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D541A #1A235D
analogous
#5D321A #5D541A #445D1A
triadic
#5D541A #1A5D54 #541A5D
tetradic
#5D541A #1A5D32 #1A235D #5D1A44
square
#5D541A #1A5D32 #1A235D #5D1A44
split-complementary
#5D541A #1A445D #321A5D
monochromatic
#181607 #2D290D #5D541A #8D7F27 #BDAA35

Accessibility & contrast

On white

7.64
#5D541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5D541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D541A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D541A#FFFFFF#000000##FFFFFF
##5D541A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5112
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#644E48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d541a;
/* rgb */ color: rgb(93, 84, 26);
/* oklch */ color: oklch(44.2% 0.078 100.4);
Tailwind
colors: {
  custom: {
    50: '#8d835a',
    500: '#5d541a',
    950: '#000000',
  },
}
SCSS
$custom: #5d541a;
$custom-light: #8d835a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d541a",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 51.94,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.07753,
    "h": 100.4
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#5D541A
secondary
#404B93
accent
#5DE048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D541A

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

Preview Lab → · Contrast checker → · Palette generator →

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