#5E511D#5E511D

#5E511D is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.072 H 95.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5E511D
RGBrgb(94, 81, 29)
HSLhsl(48, 53%, 24%)
HSVhsv(48, 69%, 37%)
CMYKcmyk(0%, 13.8%, 69.1%, 63.1%)
CIE-LABlab(34.71, -1.47, 31.63)
CIE-LCHlch(34.71, 31.66, 92.66°)
OKLaboklab(43.67% -0.0065 0.072)
OKLCHoklch(43.67% 0.072 95.2)
XYZxyz(7.7807, 8.3536, 2.3647)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E511D #1D2A5E
analogous
#5E311D #5E511D #4B5E1D
triadic
#5E511D #1D5E51 #511D5E
tetradic
#5E511D #1D5E31 #1D2A5E #5E1D4B
square
#5E511D #1D5E31 #1D2A5E #5E1D4B
split-complementary
#5E511D #1D4B5E #311D5E
monochromatic
#171407 #2F290F #5E511D #8D792B #BCA23A

Accessibility & contrast

On white

7.86
#5E511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5E511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E511D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E511D#FFFFFF#000000##FFFFFF
##5E511D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F17
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e511d;
/* rgb */ color: rgb(94, 81, 29);
/* oklch */ color: oklch(43.7% 0.072 95.2);
Tailwind
colors: {
  custom: {
    50: '#8e815c',
    500: '#5e511d',
    950: '#000000',
  },
}
SCSS
$custom: #5e511d;
$custom-light: #8e815c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e511d",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 48,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.07228,
    "h": 95.2
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#5E511D
secondary
#445493
accent
#68DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E511D

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

Preview Lab → · Contrast checker → · Palette generator →

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