#5B4911#5B4911

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

Color values

HEX#5B4911
RGBrgb(91, 73, 17)
HSLhsl(45, 69%, 21%)
HSVhsv(45, 81%, 36%)
CMYKcmyk(0%, 19.8%, 81.3%, 64.3%)
CIE-LABlab(31.88, 1.19, 34.29)
CIE-LCHlch(31.88, 34.31, 88.01°)
OKLaboklab(41.32% -0.0002 0.0753)
OKLCHoklch(41.32% 0.075 90.2)
XYZxyz(6.7985, 7.0301, 1.5291)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4911 #11235B
analogous
#5B2411 #5B4911 #485B11
triadic
#5B4911 #115B49 #49115B
tetradic
#5B4911 #115B24 #11235B #5B1148
square
#5B4911 #115B24 #11235B #5B1148
split-complementary
#5B4911 #11485B #24115B
monochromatic
#1A1505 #272007 #5B4911 #8F721B #C29C24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B4911#FFFFFF#000000##FFFFFF
##5B49111.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)
#524808
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#63423E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5b4911;
/* rgb */ color: rgb(91, 73, 17);
/* oklch */ color: oklch(41.3% 0.075 90.2);
Tailwind
colors: {
  custom: {
    50: '#8d7b54',
    500: '#5b4911',
    950: '#000000',
  },
}
SCSS
$custom: #5b4911;
$custom-light: #8d7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4911",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 45.405,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.07532,
    "h": 90.2
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#5B4911
secondary
#344B94
accent
#67EB3C
background
#F8F7F4
surface
#F0EDE8
border
#CBC8C4
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4911

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

Preview Lab → · Contrast checker → · Palette generator →

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