#5B5316#5B5316

#5B5316 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.080 H 101.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5316
RGBrgb(91, 83, 22)
HSLhsl(53, 61%, 22%)
HSVhsv(53, 76%, 36%)
CMYKcmyk(0%, 8.8%, 75.8%, 64.3%)
CIE-LABlab(34.94, -4.61, 35.10)
CIE-LCHlch(34.94, 35.40, 97.49°)
OKLaboklab(43.76% -0.0162 0.0781)
OKLCHoklch(43.76% 0.08 101.7)
XYZxyz(7.5528, 8.4689, 1.9957)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5316 #161E5B
analogous
#5B3016 #5B5316 #415B16
triadic
#5B5316 #165B53 #53165B
tetradic
#5B5316 #165B30 #161E5B #5B1641
square
#5B5316 #165B30 #161E5B #5B1641
split-complementary
#5B5316 #16415B #30165B
monochromatic
#191606 #2A260A #5B5316 #8C8022 #BEAD2E

Accessibility & contrast

On white

7.80
#5B5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5B5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5316
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5316#FFFFFF#000000##FFFFFF
##5B53161.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#624D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5316;
/* rgb */ color: rgb(91, 83, 22);
/* oklch */ color: oklch(43.8% 0.080 101.7);
Tailwind
colors: {
  custom: {
    50: '#8c8358',
    500: '#5b5316',
    950: '#000000',
  },
}
SCSS
$custom: #5b5316;
$custom-light: #8c8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5316",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 53.043,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.07976,
    "h": 101.7
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#5B5316
secondary
#3B4592
accent
#56E444
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5316

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

Preview Lab → · Contrast checker → · Palette generator →

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