#5B4E16#5B4E16

#5B4E16 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.075 H 95.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5B4E16
RGBrgb(91, 78, 22)
HSLhsl(49, 61%, 22%)
HSVhsv(49, 76%, 36%)
CMYKcmyk(0%, 14.3%, 75.8%, 64.3%)
CIE-LABlab(33.42, -1.60, 33.57)
CIE-LCHlch(33.42, 33.61, 92.73°)
OKLaboklab(42.55% -0.0076 0.0749)
OKLCHoklch(42.55% 0.075 95.8)
XYZxyz(7.1839, 7.7312, 1.8728)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E16 #16235B
analogous
#5B2C16 #5B4E16 #465B16
triadic
#5B4E16 #165B4E #4E165B
tetradic
#5B4E16 #165B2C #16235B #5B1646
square
#5B4E16 #165B2C #16235B #5B1646
split-complementary
#5B4E16 #16465B #2C165B
monochromatic
#191506 #2A240A #5B4E16 #8C7822 #BEA22E

Accessibility & contrast

On white

8.25
#5B4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5B4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E16
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E16#FFFFFF#000000##FFFFFF
##5B4E161.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0E
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#634743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e16;
/* rgb */ color: rgb(91, 78, 22);
/* oklch */ color: oklch(42.5% 0.075 95.8);
Tailwind
colors: {
  custom: {
    50: '#8c7f57',
    500: '#5b4e16',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e16;
$custom-light: #8c7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e16",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 48.696,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.07528,
    "h": 95.8
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#5B4E16
secondary
#3B4B92
accent
#62E444
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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