#5B5315#5B5315

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

Color values

HEX#5B5315
RGBrgb(91, 83, 21)
HSLhsl(53, 63%, 22%)
HSVhsv(53, 77%, 36%)
CMYKcmyk(0%, 8.8%, 76.9%, 64.3%)
CIE-LABlab(34.93, -4.67, 35.53)
CIE-LCHlch(34.93, 35.83, 97.49°)
OKLaboklab(43.75% -0.0164 0.0788)
OKLCHoklch(43.75% 0.081 101.8)
XYZxyz(7.5433, 8.4651, 1.9459)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5315 #151D5B
analogous
#5B3015 #5B5315 #405B15
triadic
#5B5315 #155B53 #53155B
tetradic
#5B5315 #155B30 #151D5B #5B1540
square
#5B5315 #155B30 #151D5B #5B1540
split-complementary
#5B5315 #15405B #30155B
monochromatic
#191706 #29260A #5B5315 #8D8020 #BEAE2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5315#FFFFFF#000000##FFFFFF
##5B53151.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)
#5B500B
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#624D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5315;
/* rgb */ color: rgb(91, 83, 21);
/* oklch */ color: oklch(43.7% 0.081 101.8);
Tailwind
colors: {
  custom: {
    50: '#8c8357',
    500: '#5b5315',
    950: '#000000',
  },
}
SCSS
$custom: #5b5315;
$custom-light: #8c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5315",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 53.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.08052,
    "h": 101.8
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#5B5315
secondary
#394492
accent
#55E642
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5315

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

Preview Lab → · Contrast checker → · Palette generator →

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