#5B4E1A#5B4E1A

#5B4E1A is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.6% C 0.072 H 95.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5B4E1A
RGBrgb(91, 78, 26)
HSLhsl(48, 56%, 23%)
HSVhsv(48, 71%, 36%)
CMYKcmyk(0%, 14.3%, 71.4%, 64.3%)
CIE-LABlab(33.45, -1.35, 31.70)
CIE-LCHlch(33.45, 31.72, 92.43°)
OKLaboklab(42.59% -0.0063 0.0717)
OKLCHoklch(42.59% 0.072 95)
XYZxyz(7.2256, 7.7479, 2.0920)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E1A #1A275B
analogous
#5B2D1A #5B4E1A #475B1A
triadic
#5B4E1A #1A5B4E #4E1A5B
tetradic
#5B4E1A #1A5B2D #1A275B #5B1A47
square
#5B4E1A #1A5B2D #1A275B #5B1A47
split-complementary
#5B4E1A #1A475B #2D1A5B
monochromatic
#181407 #2B250C #5B4E1A #8B7728 #BAA035

Accessibility & contrast

On white

8.24
#5B4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4E1A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E1A#FFFFFF#000000##FFFFFF
##5B4E1A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C14
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#634843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e1a;
/* rgb */ color: rgb(91, 78, 26);
/* oklch */ color: oklch(42.6% 0.072 95.0);
Tailwind
colors: {
  custom: {
    50: '#8c7f59',
    500: '#5b4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e1a;
$custom-light: #8c7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e1a",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.07198,
    "h": 95
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#5B4E1A
secondary
#405091
accent
#67DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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