#5B4A10#5B4A10

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

Color values

HEX#5B4A10
RGBrgb(91, 74, 16)
HSLhsl(46, 70%, 21%)
HSVhsv(46, 82%, 36%)
CMYKcmyk(0%, 18.7%, 82.4%, 64.3%)
CIE-LABlab(32.17, 0.53, 34.99)
CIE-LCHlch(32.17, 34.99, 89.13°)
OKLaboklab(41.55% -0.0023 0.0766)
OKLCHoklch(41.55% 0.077 91.7)
XYZxyz(6.8571, 7.1595, 1.5109)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4A10 #10215B
analogous
#5B2410 #5B4A10 #465B10
triadic
#5B4A10 #105B4A #4A105B
tetradic
#5B4A10 #105B24 #10215B #5B1046
square
#5B4A10 #105B24 #10215B #5B1046
split-complementary
#5B4A10 #10465B #24105B
monochromatic
#1A1505 #272007 #5B4A10 #8F7419 #C39F22

Accessibility & contrast

On white

8.64
#5B4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5B4A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4A10
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4A10#FFFFFF#000000##FFFFFF
##5B4A101.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#574E13
Tritanopia (blue-blind)
#63433F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5b4a10;
/* rgb */ color: rgb(91, 74, 16);
/* oklch */ color: oklch(41.5% 0.077 91.7);
Tailwind
colors: {
  custom: {
    50: '#8d7c53',
    500: '#5b4a10',
    950: '#000000',
  },
}
SCSS
$custom: #5b4a10;
$custom-light: #8d7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4a10",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 46.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41548,
    "c": 0.07659,
    "h": 91.7
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#5B4A10
secondary
#334994
accent
#63ED3B
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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