#5D4E1B#5D4E1B

#5D4E1B is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.071 H 92.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5D4E1B
RGBrgb(93, 78, 27)
HSLhsl(46, 55%, 24%)
HSVhsv(46, 71%, 36%)
CMYKcmyk(0%, 16.1%, 71%, 63.5%)
CIE-LABlab(33.68, -0.28, 31.50)
CIE-LCHlch(33.68, 31.51, 90.52°)
OKLaboklab(42.82% -0.0033 0.0714)
OKLCHoklch(42.82% 0.071 92.6)
XYZxyz(7.4368, 7.8555, 2.1612)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E1B #1B2A5D
analogous
#5D2D1B #5D4E1B #4B5D1B
triadic
#5D4E1B #1B5D4E #4E1B5D
tetradic
#5D4E1B #1B5D2D #1B2A5D #5D1B4B
square
#5D4E1B #1B5D2D #1B2A5D #5D1B4B
split-complementary
#5D4E1B #1B4B5D #2D1B5D
monochromatic
#181407 #2E260D #5D4E1B #8C7629 #BC9E37

Accessibility & contrast

On white

8.17
#5D4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5D4E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E1B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E1B#FFFFFF#000000##FFFFFF
##5D4E1B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#654843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e1b;
/* rgb */ color: rgb(93, 78, 27);
/* oklch */ color: oklch(42.8% 0.071 92.6);
Tailwind
colors: {
  custom: {
    50: '#8d7f5a',
    500: '#5d4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e1b;
$custom-light: #8d7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e1b",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 46.364,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.07149,
    "h": 92.6
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#5D4E1B
secondary
#415493
accent
#6BDE49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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