#5D541D#5D541D

#5D541D is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.075 H 100.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5D541D
RGBrgb(93, 84, 29)
HSLhsl(52, 52%, 24%)
HSVhsv(52, 69%, 36%)
CMYKcmyk(0%, 9.7%, 68.8%, 63.5%)
CIE-LABlab(35.51, -3.77, 32.46)
CIE-LCHlch(35.51, 32.68, 96.62°)
OKLaboklab(44.28% -0.013 0.0738)
OKLCHoklch(44.28% 0.075 100)
XYZxyz(7.9066, 8.7569, 2.4359)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D541D #1D265D
analogous
#5D341D #5D541D #465D1D
triadic
#5D541D #1D5D54 #541D5D
tetradic
#5D541D #1D5D34 #1D265D #5D1D46
square
#5D541D #1D5D34 #1D265D #5D1D46
split-complementary
#5D541D #1D465D #341D5D
monochromatic
#171507 #2E2A0E #5D541D #8C7E2C #BAA83A

Accessibility & contrast

On white

7.63
#5D541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D541D
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D541D#FFFFFF#000000##FFFFFF
##5D541D1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d541d;
/* rgb */ color: rgb(93, 84, 29);
/* oklch */ color: oklch(44.3% 0.075 100.0);
Tailwind
colors: {
  custom: {
    50: '#8d835c',
    500: '#5d541d',
    950: '#000000',
  },
}
SCSS
$custom: #5d541d;
$custom-light: #8d835c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d541d",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 51.563,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.07493,
    "h": 100
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#5D541D
secondary
#444F92
accent
#60DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D541D

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

Preview Lab → · Contrast checker → · Palette generator →

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