#5D5315#5D5315

#5D5315 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.080 H 99.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5D5315
RGBrgb(93, 83, 21)
HSLhsl(52, 63%, 22%)
HSVhsv(52, 77%, 36%)
CMYKcmyk(0%, 10.8%, 77.4%, 63.5%)
CIE-LABlab(35.14, -3.68, 35.80)
CIE-LCHlch(35.14, 35.99, 95.86°)
OKLaboklab(43.96% -0.0137 0.0793)
OKLCHoklch(43.96% 0.08 99.8)
XYZxyz(7.7432, 8.5682, 1.9553)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5315 #151F5D
analogous
#5D2F15 #5D5315 #435D15
triadic
#5D5315 #155D53 #53155D
tetradic
#5D5315 #155D2F #151F5D #5D1543
square
#5D5315 #155D2F #151F5D #5D1543
split-complementary
#5D5315 #15435D #2F155D
monochromatic
#191606 #2B260A #5D5315 #8F8020 #C1AC2C

Accessibility & contrast

On white

7.74
#5D5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5315
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5315#FFFFFF#000000##FFFFFF
##5D53151.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#654C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5315;
/* rgb */ color: rgb(93, 83, 21);
/* oklch */ color: oklch(44.0% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#8e8357',
    500: '#5d5315',
    950: '#000000',
  },
}
SCSS
$custom: #5d5315;
$custom-light: #8e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5315",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 51.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.08049,
    "h": 99.8
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#5D5315
secondary
#394694
accent
#58E642
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5315

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

Preview Lab → · Contrast checker → · Palette generator →

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