#5B4B11#5B4B11

#5B4B11 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.8% C 0.077 H 92.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5B4B11
RGBrgb(91, 75, 17)
HSLhsl(47, 69%, 21%)
HSVhsv(47, 81%, 36%)
CMYKcmyk(0%, 17.6%, 81.3%, 64.3%)
CIE-LABlab(32.47, -0.04, 34.86)
CIE-LCHlch(32.47, 34.86, 90.06°)
OKLaboklab(41.79% -0.0038 0.0765)
OKLCHoklch(41.79% 0.077 92.8)
XYZxyz(6.9320, 7.2972, 1.5736)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4B11 #11215B
analogous
#5B2611 #5B4B11 #465B11
triadic
#5B4B11 #115B4B #4B115B
tetradic
#5B4B11 #115B26 #11215B #5B1146
square
#5B4B11 #115B26 #11215B #5B1146
split-complementary
#5B4B11 #11465B #26115B
monochromatic
#1A1505 #272007 #5B4B11 #8F751B #C2A024

Accessibility & contrast

On white

8.54
#5B4B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5B4B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4B11
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4B11#FFFFFF#000000##FFFFFF
##5B4B111.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#634440
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5b4b11;
/* rgb */ color: rgb(91, 75, 17);
/* oklch */ color: oklch(41.8% 0.077 92.8);
Tailwind
colors: {
  custom: {
    50: '#8c7d54',
    500: '#5b4b11',
    950: '#000000',
  },
}
SCSS
$custom: #5b4b11;
$custom-light: #8c7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4b11",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 47.027,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.07662,
    "h": 92.8
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#5B4B11
secondary
#344994
accent
#62EB3C
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5B4B11

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

Preview Lab → · Contrast checker → · Palette generator →

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