#5B4C11#5B4C11

#5B4C11 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.0% C 0.077 H 94.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5B4C11
RGBrgb(91, 76, 17)
HSLhsl(48, 69%, 21%)
HSVhsv(48, 81%, 36%)
CMYKcmyk(0%, 16.5%, 81.3%, 64.3%)
CIE-LABlab(32.77, -0.65, 35.14)
CIE-LCHlch(32.77, 35.15, 91.06°)
OKLaboklab(42.03% -0.0055 0.0771)
OKLCHoklch(42.03% 0.077 94.1)
XYZxyz(7.0004, 7.4339, 1.5964)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4C11 #11205B
analogous
#5B2711 #5B4C11 #455B11
triadic
#5B4C11 #115B4C #4C115B
tetradic
#5B4C11 #115B27 #11205B #5B1145
square
#5B4C11 #115B27 #11205B #5B1145
split-complementary
#5B4C11 #11455B #27115B
monochromatic
#1A1605 #272107 #5B4C11 #8F771B #C2A224

Accessibility & contrast

On white

8.44
#5B4C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5B4C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4C11
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4C11#FFFFFF#000000##FFFFFF
##5B4C111.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A07
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#634541
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b4c11;
/* rgb */ color: rgb(91, 76, 17);
/* oklch */ color: oklch(42.0% 0.077 94.1);
Tailwind
colors: {
  custom: {
    50: '#8c7d54',
    500: '#5b4c11',
    950: '#000000',
  },
}
SCSS
$custom: #5b4c11;
$custom-light: #8c7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4c11",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 47.838,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.07733,
    "h": 94.1
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#5B4C11
secondary
#344794
accent
#60EB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5B4C11

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

Preview Lab → · Contrast checker → · Palette generator →

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