#5B5613#5B5613

#5B5613 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.085 H 105.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5B5613
RGBrgb(91, 86, 19)
HSLhsl(56, 65%, 22%)
HSVhsv(56, 79%, 36%)
CMYKcmyk(0%, 5.5%, 79.1%, 64.3%)
CIE-LABlab(35.84, -6.55, 37.24)
CIE-LCHlch(35.84, 37.81, 99.98°)
OKLaboklab(44.47% -0.022 0.082)
OKLCHoklch(44.47% 0.085 105)
XYZxyz(7.7600, 8.9270, 1.9303)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5613 #13185B
analogous
#5B3213 #5B5613 #3C5B13
triadic
#5B5613 #135B56 #56135B
tetradic
#5B5613 #135B32 #13185B #5B133C
square
#5B5613 #135B32 #13185B #5B133C
split-complementary
#5B5613 #133C5B #32135B
monochromatic
#191805 #282608 #5B5613 #8E861E #C0B628

Accessibility & contrast

On white

7.54
#5B5613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5B5613 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5613
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5613#FFFFFF#000000##FFFFFF
##5B56131.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#625049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b5613;
/* rgb */ color: rgb(91, 86, 19);
/* oklch */ color: oklch(44.5% 0.085 105.0);
Tailwind
colors: {
  custom: {
    50: '#8c8556',
    500: '#5b5613',
    950: '#000000',
  },
}
SCSS
$custom: #5b5613;
$custom-light: #8c8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5613",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 55.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.08491,
    "h": 105
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#5B5613
secondary
#373D93
accent
#4BE83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5613

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

Preview Lab → · Contrast checker → · Palette generator →

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