#5B5413#5B5413

#5B5413 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.083 H 103.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5B5413
RGBrgb(91, 84, 19)
HSLhsl(54, 65%, 22%)
HSVhsv(54, 79%, 36%)
CMYKcmyk(0%, 7.7%, 79.1%, 64.3%)
CIE-LABlab(35.23, -5.37, 36.65)
CIE-LCHlch(35.23, 37.04, 98.34°)
OKLaboklab(43.98% -0.0187 0.0808)
OKLCHoklch(43.98% 0.083 103)
XYZxyz(7.6026, 8.6121, 1.8778)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5413 #131A5B
analogous
#5B3013 #5B5413 #3E5B13
triadic
#5B5413 #135B54 #54135B
tetradic
#5B5413 #135B30 #131A5B #5B133E
square
#5B5413 #135B30 #131A5B #5B133E
split-complementary
#5B5413 #133E5B #30135B
monochromatic
#191705 #282508 #5B5413 #8E831E #C0B128

Accessibility & contrast

On white

7.71
#5B5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5B5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5413
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5413#FFFFFF#000000##FFFFFF
##5B54131.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5107
Deuteranopia (green-blind)
#5F5418
Tritanopia (blue-blind)
#624E47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5b5413;
/* rgb */ color: rgb(91, 84, 19);
/* oklch */ color: oklch(44.0% 0.083 103.0);
Tailwind
colors: {
  custom: {
    50: '#8c8356',
    500: '#5b5413',
    950: '#000000',
  },
}
SCSS
$custom: #5b5413;
$custom-light: #8c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5413",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 54.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.0829,
    "h": 103
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#5B5413
secondary
#374093
accent
#50E83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5413

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

Preview Lab → · Contrast checker → · Palette generator →

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