#5B5616#5B5616

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

Color values

HEX#5B5616
RGBrgb(91, 86, 22)
HSLhsl(56, 61%, 22%)
HSVhsv(56, 76%, 36%)
CMYKcmyk(0%, 5.5%, 75.8%, 64.3%)
CIE-LABlab(35.86, -6.39, 36.01)
CIE-LCHlch(35.86, 36.57, 100.06°)
OKLaboklab(44.49% -0.0212 0.08)
OKLCHoklch(44.49% 0.083 104.8)
XYZxyz(7.7873, 8.9379, 2.0739)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5616 #161B5B
analogous
#5B3416 #5B5616 #3E5B16
triadic
#5B5616 #165B56 #56165B
tetradic
#5B5616 #165B34 #161B5B #5B163E
square
#5B5616 #165B34 #161B5B #5B163E
split-complementary
#5B5616 #163E5B #34165B
monochromatic
#191706 #2A270A #5B5616 #8C8522 #BEB32E

Accessibility & contrast

On white

7.53
#5B5616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B5616
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5616#FFFFFF#000000##FFFFFF
##5B56161.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530C
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#625049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b5616;
/* rgb */ color: rgb(91, 86, 22);
/* oklch */ color: oklch(44.5% 0.083 104.8);
Tailwind
colors: {
  custom: {
    50: '#8c8558',
    500: '#5b5616',
    950: '#000000',
  },
}
SCSS
$custom: #5b5616;
$custom-light: #8c8558;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5616",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 55.652,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.0828,
    "h": 104.8
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#5B5616
secondary
#3B4192
accent
#4FE444
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5616

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

Preview Lab → · Contrast checker → · Palette generator →

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