#5B5813#5B5813

#5B5813 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.087 H 106.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5B5813
RGBrgb(91, 88, 19)
HSLhsl(58, 65%, 22%)
HSVhsv(58, 79%, 36%)
CMYKcmyk(0%, 3.3%, 79.1%, 64.3%)
CIE-LABlab(36.46, -7.73, 37.82)
CIE-LCHlch(36.46, 38.60, 101.54°)
OKLaboklab(44.96% -0.0253 0.0833)
OKLCHoklch(44.96% 0.087 106.9)
XYZxyz(7.9220, 9.2509, 1.9843)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5813 #13165B
analogous
#5B3413 #5B5813 #3A5B13
triadic
#5B5813 #135B58 #58135B
tetradic
#5B5813 #135B34 #13165B #5B133A
square
#5B5813 #135B34 #13165B #5B133A
split-complementary
#5B5813 #133A5B #34135B
monochromatic
#191805 #282708 #5B5813 #8E891E #C0BA28

Accessibility & contrast

On white

7.37
#5B5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5B5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5813
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5813#FFFFFF#000000##FFFFFF
##5B58131.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605406
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#62524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5813;
/* rgb */ color: rgb(91, 88, 19);
/* oklch */ color: oklch(45.0% 0.087 106.9);
Tailwind
colors: {
  custom: {
    50: '#8c8657',
    500: '#5b5813',
    950: '#000000',
  },
}
SCSS
$custom: #5b5813;
$custom-light: #8c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5813",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 57.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.08701,
    "h": 106.9
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#5B5813
secondary
#373B93
accent
#46E83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5813

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

Preview Lab → · Contrast checker → · Palette generator →

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