#5E541B#5E541B

#5E541B is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.4% C 0.077 H 99.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5E541B
RGBrgb(94, 84, 27)
HSLhsl(51, 55%, 24%)
HSVhsv(51, 71%, 37%)
CMYKcmyk(0%, 10.6%, 71.3%, 63.1%)
CIE-LABlab(35.60, -3.41, 33.55)
CIE-LCHlch(35.60, 33.73, 95.81°)
OKLaboklab(44.36% -0.0123 0.0757)
OKLCHoklch(44.36% 0.077 99.2)
XYZxyz(7.9846, 8.7998, 2.3147)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E541B #1B255E
analogous
#5E321B #5E541B #465E1B
triadic
#5E541B #1B5E54 #541B5E
tetradic
#5E541B #1B5E32 #1B255E #5E1B46
square
#5E541B #1B5E32 #1B255E #5E1B46
split-complementary
#5E541B #1B465E #321B5E
monochromatic
#181507 #2E2A0D #5E541B #8E7E29 #BDA936

Accessibility & contrast

On white

7.61
#5E541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5E541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E541B
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E541B#FFFFFF#000000##FFFFFF
##5E541B1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5214
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#664E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e541b;
/* rgb */ color: rgb(94, 84, 27);
/* oklch */ color: oklch(44.4% 0.077 99.2);
Tailwind
colors: {
  custom: {
    50: '#8e835b',
    500: '#5e541b',
    950: '#000000',
  },
}
SCSS
$custom: #5e541b;
$custom-light: #8e835b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e541b",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 51.045,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.07672,
    "h": 99.2
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#5E541B
secondary
#414D94
accent
#5FDF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E541B

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

Preview Lab → · Contrast checker → · Palette generator →

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