#5E511A#5E511A

#5E511A is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.075 H 95.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5E511A
RGBrgb(94, 81, 26)
HSLhsl(49, 57%, 24%)
HSVhsv(49, 72%, 37%)
CMYKcmyk(0%, 13.8%, 72.3%, 63.1%)
CIE-LABlab(34.68, -1.68, 33.08)
CIE-LCHlch(34.68, 33.12, 92.90°)
OKLaboklab(43.64% -0.0075 0.0745)
OKLCHoklch(43.64% 0.075 95.7)
XYZxyz(7.7453, 8.3395, 2.1788)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E511A #1A275E
analogous
#5E2F1A #5E511A #495E1A
triadic
#5E511A #1A5E51 #511A5E
tetradic
#5E511A #1A5E2F #1A275E #5E1A49
square
#5E511A #1A5E2F #1A275E #5E1A49
split-complementary
#5E511A #1A495E #2F1A5E
monochromatic
#181507 #2E280D #5E511A #8E7A27 #BEA435

Accessibility & contrast

On white

7.87
#5E511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E511A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E511A#FFFFFF#000000##FFFFFF
##5E511A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F13
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#664A46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e511a;
/* rgb */ color: rgb(94, 81, 26);
/* oklch */ color: oklch(43.6% 0.075 95.7);
Tailwind
colors: {
  custom: {
    50: '#8e815a',
    500: '#5e511a',
    950: '#000000',
  },
}
SCSS
$custom: #5e511a;
$custom-light: #8e815a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e511a",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 48.529,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.07491,
    "h": 95.7
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#5E511A
secondary
#405094
accent
#65E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E511A

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

Preview Lab → · Contrast checker → · Palette generator →

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