#5B5016#5B5016

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

Color values

HEX#5B5016
RGBrgb(91, 80, 22)
HSLhsl(50, 61%, 22%)
HSVhsv(50, 76%, 36%)
CMYKcmyk(0%, 12.1%, 75.8%, 64.3%)
CIE-LABlab(34.02, -2.81, 34.18)
CIE-LCHlch(34.02, 34.30, 94.70°)
OKLaboklab(43.03% -0.0111 0.0762)
OKLCHoklch(43.03% 0.077 98.3)
XYZxyz(7.3282, 8.0198, 1.9209)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5016 #16215B
analogous
#5B2E16 #5B5016 #445B16
triadic
#5B5016 #165B50 #50165B
tetradic
#5B5016 #165B2E #16215B #5B1644
square
#5B5016 #165B2E #16215B #5B1644
split-complementary
#5B5016 #16445B #2E165B
monochromatic
#191606 #2A250A #5B5016 #8C7B22 #BEA72E

Accessibility & contrast

On white

8.07
#5B5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B5016
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5016#FFFFFF#000000##FFFFFF
##5B50161.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#634A44
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5016;
/* rgb */ color: rgb(91, 80, 22);
/* oklch */ color: oklch(43.0% 0.077 98.3);
Tailwind
colors: {
  custom: {
    50: '#8c8057',
    500: '#5b5016',
    950: '#000000',
  },
}
SCSS
$custom: #5b5016;
$custom-light: #8c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5016",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 50.435,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.07698,
    "h": 98.3
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#5B5016
secondary
#3B4992
accent
#5DE444
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5016

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

Preview Lab → · Contrast checker → · Palette generator →

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