#5B5111#5B5111

#5B5111 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.081 H 100.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5B5111
RGBrgb(91, 81, 17)
HSLhsl(52, 69%, 21%)
HSVhsv(52, 81%, 36%)
CMYKcmyk(0%, 11%, 81.3%, 64.3%)
CIE-LABlab(34.29, -3.68, 36.57)
CIE-LCHlch(34.29, 36.76, 95.75°)
OKLaboklab(43.23% -0.0141 0.0802)
OKLCHoklch(43.23% 0.081 100)
XYZxyz(7.3583, 8.1498, 1.7157)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5111 #111B5B
analogous
#5B2C11 #5B5111 #405B11
triadic
#5B5111 #115B51 #51115B
tetradic
#5B5111 #115B2C #111B5B #5B1140
square
#5B5111 #115B2C #111B5B #5B1140
split-complementary
#5B5111 #11405B #2C115B
monochromatic
#1A1705 #272307 #5B5111 #8F7F1B #C2AD24

Accessibility & contrast

On white

7.99
#5B5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5B5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5111
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5111#FFFFFF#000000##FFFFFF
##5B51111.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#634A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5111;
/* rgb */ color: rgb(91, 81, 17);
/* oklch */ color: oklch(43.2% 0.081 100.0);
Tailwind
colors: {
  custom: {
    50: '#8c8155',
    500: '#5b5111',
    950: '#000000',
  },
}
SCSS
$custom: #5b5111;
$custom-light: #8c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5111",
  "rgb": {
    "r": 91,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 51.892,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43232,
    "c": 0.0814,
    "h": 100
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#5B5111
secondary
#344194
accent
#54EB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5111

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

Preview Lab → · Contrast checker → · Palette generator →

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