#5B5317#5B5317

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

Color values

HEX#5B5317
RGBrgb(91, 83, 23)
HSLhsl(53, 60%, 22%)
HSVhsv(53, 75%, 36%)
CMYKcmyk(0%, 8.8%, 74.7%, 64.3%)
CIE-LABlab(34.95, -4.55, 34.66)
CIE-LCHlch(34.95, 34.96, 97.48°)
OKLaboklab(43.77% -0.0159 0.0774)
OKLCHoklch(43.77% 0.079 101.6)
XYZxyz(7.5626, 8.4728, 2.0475)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5317 #171F5B
analogous
#5B3117 #5B5317 #415B17
triadic
#5B5317 #175B53 #53175B
tetradic
#5B5317 #175B31 #171F5B #5B1741
square
#5B5317 #175B31 #171F5B #5B1741
split-complementary
#5B5317 #17415B #31175B
monochromatic
#181606 #2A260B #5B5317 #8C8023 #BDAC30

Accessibility & contrast

On white

7.79
#5B5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B5317
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5317#FFFFFF#000000##FFFFFF
##5B53171.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b5317;
/* rgb */ color: rgb(91, 83, 23);
/* oklch */ color: oklch(43.8% 0.079 101.6);
Tailwind
colors: {
  custom: {
    50: '#8c8358',
    500: '#5b5317',
    950: '#000000',
  },
}
SCSS
$custom: #5b5317;
$custom-light: #8c8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5317",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 52.941,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.079,
    "h": 101.6
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#5B5317
secondary
#3C4692
accent
#58E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5317

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

Preview Lab → · Contrast checker → · Palette generator →

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