#5D541B#5D541B

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

Color values

HEX#5D541B
RGBrgb(93, 84, 27)
HSLhsl(52, 55%, 24%)
HSVhsv(52, 71%, 36%)
CMYKcmyk(0%, 9.7%, 71%, 63.5%)
CIE-LABlab(35.49, -3.91, 33.42)
CIE-LCHlch(35.49, 33.64, 96.67°)
OKLaboklab(44.26% -0.0137 0.0755)
OKLCHoklch(44.26% 0.077 100.3)
XYZxyz(7.8827, 8.7473, 2.3099)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D541B #1B245D
analogous
#5D331B #5D541B #455D1B
triadic
#5D541B #1B5D54 #541B5D
tetradic
#5D541B #1B5D33 #1B245D #5D1B45
square
#5D541B #1B5D33 #1B245D #5D1B45
split-complementary
#5D541B #1B455D #331B5D
monochromatic
#181507 #2E290D #5D541B #8C7F29 #BCAA37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D541B#FFFFFF#000000##FFFFFF
##5D541B1.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)
#5C5214
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#644E48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d541b;
/* rgb */ color: rgb(93, 84, 27);
/* oklch */ color: oklch(44.3% 0.077 100.3);
Tailwind
colors: {
  custom: {
    50: '#8d835b',
    500: '#5d541b',
    950: '#000000',
  },
}
SCSS
$custom: #5d541b;
$custom-light: #8d835b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d541b",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 51.818,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.07669,
    "h": 100.3
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#5D541B
secondary
#414C93
accent
#5EDE49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D541B

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

Preview Lab → · Contrast checker → · Palette generator →

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