#5B5611#5B5611

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

Color values

HEX#5B5611
RGBrgb(91, 86, 17)
HSLhsl(56, 69%, 21%)
HSVhsv(56, 81%, 36%)
CMYKcmyk(0%, 5.5%, 81.3%, 64.3%)
CIE-LABlab(35.83, -6.65, 38.00)
CIE-LCHlch(35.83, 38.58, 99.93°)
OKLaboklab(44.45% -0.0225 0.0832)
OKLCHoklch(44.45% 0.086 105.1)
XYZxyz(7.7437, 8.9205, 1.8441)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5611 #11165B
analogous
#5B3111 #5B5611 #3B5B11
triadic
#5B5611 #115B56 #56115B
tetradic
#5B5611 #115B31 #11165B #5B113B
square
#5B5611 #115B31 #11165B #5B113B
split-complementary
#5B5611 #113B5B #31115B
monochromatic
#1A1805 #272507 #5B5611 #8F871B #C2B724

Accessibility & contrast

On white

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

On black

2.78
#5B5611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B5611#FFFFFF#000000##FFFFFF
##5B56111.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b5611;
/* rgb */ color: rgb(91, 86, 17);
/* oklch */ color: oklch(44.5% 0.086 105.1);
Tailwind
colors: {
  custom: {
    50: '#8c8555',
    500: '#5b5611',
    950: '#000000',
  },
}
SCSS
$custom: #5b5611;
$custom-light: #8c8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5611",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 55.946,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.0862,
    "h": 105.1
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#5B5611
secondary
#343A94
accent
#48EB3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5611

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

Preview Lab → · Contrast checker → · Palette generator →

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