#5B5713#5B5713

#5B5713 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.7% C 0.086 H 106.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5B5713
RGBrgb(91, 87, 19)
HSLhsl(57, 65%, 22%)
HSVhsv(57, 79%, 36%)
CMYKcmyk(0%, 4.4%, 79.1%, 64.3%)
CIE-LABlab(36.15, -7.14, 37.53)
CIE-LCHlch(36.15, 38.20, 100.77°)
OKLaboklab(44.72% -0.0236 0.0826)
OKLCHoklch(44.72% 0.086 106)
XYZxyz(7.8404, 9.0878, 1.9571)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5713 #13175B
analogous
#5B3313 #5B5713 #3B5B13
triadic
#5B5713 #135B57 #57135B
tetradic
#5B5713 #135B33 #13175B #5B133B
square
#5B5713 #135B33 #13175B #5B133B
split-complementary
#5B5713 #133B5B #33135B
monochromatic
#191805 #282708 #5B5713 #8E871E #C0B828

Accessibility & contrast

On white

7.45
#5B5713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5B5713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5713
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5713#FFFFFF#000000##FFFFFF
##5B57131.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#62514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b5713;
/* rgb */ color: rgb(91, 87, 19);
/* oklch */ color: oklch(44.7% 0.086 106.0);
Tailwind
colors: {
  custom: {
    50: '#8c8657',
    500: '#5b5713',
    950: '#000000',
  },
}
SCSS
$custom: #5b5713;
$custom-light: #8c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5713",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 56.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.08595,
    "h": 106
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#5B5713
secondary
#373C93
accent
#49E83F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5713

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

Preview Lab → · Contrast checker → · Palette generator →

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