#5B5311#5B5311

#5B5311 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.7% C 0.083 H 102.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5B5311
RGBrgb(91, 83, 17)
HSLhsl(54, 69%, 21%)
HSVhsv(54, 81%, 36%)
CMYKcmyk(0%, 8.8%, 81.3%, 64.3%)
CIE-LABlab(34.91, -4.88, 37.14)
CIE-LCHlch(34.91, 37.46, 97.48°)
OKLaboklab(43.72% -0.0175 0.0814)
OKLCHoklch(43.72% 0.083 102.1)
XYZxyz(7.5092, 8.4515, 1.7660)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5311 #11195B
analogous
#5B2E11 #5B5311 #3E5B11
triadic
#5B5311 #115B53 #53115B
tetradic
#5B5311 #115B2E #11195B #5B113E
square
#5B5311 #115B2E #11195B #5B113E
split-complementary
#5B5311 #113E5B #2E115B
monochromatic
#1A1805 #272407 #5B5311 #8F821B #C2B124

Accessibility & contrast

On white

7.81
#5B5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5B5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5311
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5311#FFFFFF#000000##FFFFFF
##5B53111.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5004
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#634C46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5311;
/* rgb */ color: rgb(91, 83, 17);
/* oklch */ color: oklch(43.7% 0.083 102.1);
Tailwind
colors: {
  custom: {
    50: '#8c8355',
    500: '#5b5311',
    950: '#000000',
  },
}
SCSS
$custom: #5b5311;
$custom-light: #8c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5311",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 53.514,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.08325,
    "h": 102.1
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#5B5311
secondary
#343E94
accent
#4FEB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5311

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

Preview Lab → · Contrast checker → · Palette generator →

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