#5B5011#5B5011

#5B5011 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.081 H 98.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5B5011
RGBrgb(91, 80, 17)
HSLhsl(51, 69%, 21%)
HSVhsv(51, 81%, 36%)
CMYKcmyk(0%, 12.1%, 81.3%, 64.3%)
CIE-LABlab(33.99, -3.08, 36.29)
CIE-LCHlch(33.99, 36.42, 94.85°)
OKLaboklab(42.99% -0.0124 0.0796)
OKLCHoklch(42.99% 0.081 98.9)
XYZxyz(7.2846, 8.0023, 1.6911)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5011 #111C5B
analogous
#5B2B11 #5B5011 #415B11
triadic
#5B5011 #115B50 #50115B
tetradic
#5B5011 #115B2B #111C5B #5B1141
square
#5B5011 #115B2B #111C5B #5B1141
split-complementary
#5B5011 #11415B #2B115B
monochromatic
#1A1705 #272307 #5B5011 #8F7D1B #C2AB24

Accessibility & contrast

On white

8.08
#5B5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5B5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5011
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5011#FFFFFF#000000##FFFFFF
##5B50111.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#634944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5011;
/* rgb */ color: rgb(91, 80, 17);
/* oklch */ color: oklch(43.0% 0.081 98.9);
Tailwind
colors: {
  custom: {
    50: '#8c8055',
    500: '#5b5011',
    950: '#000000',
  },
}
SCSS
$custom: #5b5011;
$custom-light: #8c8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5011",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 51.081,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42989,
    "c": 0.08052,
    "h": 98.9
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#5B5011
secondary
#344294
accent
#56EB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5011

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

Preview Lab → · Contrast checker → · Palette generator →

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