#5B5411#5B5411

#5B5411 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.084 H 103.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5B5411
RGBrgb(91, 84, 17)
HSLhsl(54, 69%, 21%)
HSVhsv(54, 81%, 36%)
CMYKcmyk(0%, 7.7%, 81.3%, 64.3%)
CIE-LABlab(35.21, -5.47, 37.43)
CIE-LCHlch(35.21, 37.83, 98.32°)
OKLaboklab(43.96% -0.0191 0.082)
OKLCHoklch(43.96% 0.084 103.1)
XYZxyz(7.5862, 8.6056, 1.7917)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5411 #11185B
analogous
#5B2F11 #5B5411 #3D5B11
triadic
#5B5411 #115B54 #54115B
tetradic
#5B5411 #115B2F #11185B #5B113D
square
#5B5411 #115B2F #11185B #5B113D
split-complementary
#5B5411 #113D5B #2F115B
monochromatic
#1A1805 #272407 #5B5411 #8F841B #C2B324

Accessibility & contrast

On white

7.72
#5B5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5B5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5411
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5411#FFFFFF#000000##FFFFFF
##5B54111.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5104
Deuteranopia (green-blind)
#5F5416
Tritanopia (blue-blind)
#634D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5b5411;
/* rgb */ color: rgb(91, 84, 17);
/* oklch */ color: oklch(44.0% 0.084 103.1);
Tailwind
colors: {
  custom: {
    50: '#8c8355',
    500: '#5b5411',
    950: '#000000',
  },
}
SCSS
$custom: #5b5411;
$custom-light: #8c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5411",
  "rgb": {
    "r": 91,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 54.324,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43963,
    "c": 0.08421,
    "h": 103.1
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#5B5411
secondary
#343D94
accent
#4DEB3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5411

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

Preview Lab → · Contrast checker → · Palette generator →

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