#5B4E22#5B4E22

#5B4E22 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.064 H 93.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5B4E22
RGBrgb(91, 78, 34)
HSLhsl(46, 46%, 25%)
HSVhsv(46, 63%, 36%)
CMYKcmyk(0%, 14.3%, 62.6%, 64.3%)
CIE-LABlab(33.54, -0.73, 27.60)
CIE-LCHlch(33.54, 27.60, 91.51°)
OKLaboklab(42.69% -0.0034 0.0642)
OKLCHoklch(42.69% 0.064 93.1)
XYZxyz(7.3278, 7.7888, 2.6305)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E22 #222F5B
analogous
#5B3222 #5B4E22 #4C5B22
triadic
#5B4E22 #225B4E #4E225B
tetradic
#5B4E22 #225B32 #222F5B #5B224C
square
#5B4E22 #225B32 #222F5B #5B224C
split-complementary
#5B4E22 #224C5B #32225B
monochromatic
#161308 #2E2811 #5B4E22 #887433 #B49A43

Accessibility & contrast

On white

8.21
#5B4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5B4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E22
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E22#FFFFFF#000000##FFFFFF
##5B4E221.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1E
Deuteranopia (green-blind)
#595124
Tritanopia (blue-blind)
#624844
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e22;
/* rgb */ color: rgb(91, 78, 34);
/* oklch */ color: oklch(42.7% 0.064 93.1);
Tailwind
colors: {
  custom: {
    50: '#8b7f5f',
    500: '#5b4e22',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e22;
$custom-light: #8b7f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e22",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 46.316,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.06432,
    "h": 93.1
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#5B4E22
secondary
#4A5A8F
accent
#70D553
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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