#5B4910#5B4910

#5B4910 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.3% C 0.076 H 90.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5B4910
RGBrgb(91, 73, 16)
HSLhsl(46, 70%, 21%)
HSVhsv(46, 82%, 36%)
CMYKcmyk(0%, 19.8%, 82.4%, 64.3%)
CIE-LABlab(31.87, 1.15, 34.71)
CIE-LCHlch(31.87, 34.73, 88.11°)
OKLaboklab(41.31% -0.0005 0.076)
OKLCHoklch(41.31% 0.076 90.4)
XYZxyz(6.7909, 7.0271, 1.4888)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4910 #10225B
analogous
#5B2310 #5B4910 #475B10
triadic
#5B4910 #105B49 #49105B
tetradic
#5B4910 #105B23 #10225B #5B1047
square
#5B4910 #105B23 #10225B #5B1047
split-complementary
#5B4910 #10475B #23105B
monochromatic
#1A1505 #271F07 #5B4910 #8F7319 #C39D22

Accessibility & contrast

On white

8.73
#5B4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5B4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4910
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4910#FFFFFF#000000##FFFFFF
##5B49101.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524806
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#63423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b4910;
/* rgb */ color: rgb(91, 73, 16);
/* oklch */ color: oklch(41.3% 0.076 90.4);
Tailwind
colors: {
  custom: {
    50: '#8d7b53',
    500: '#5b4910',
    950: '#000000',
  },
}
SCSS
$custom: #5b4910;
$custom-light: #8d7b53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4910",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 45.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.07597,
    "h": 90.4
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#5B4910
secondary
#334A94
accent
#66ED3B
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4910

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

Preview Lab → · Contrast checker → · Palette generator →

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