#5D5317#5D5317

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

Color values

HEX#5D5317
RGBrgb(93, 83, 23)
HSLhsl(51, 60%, 23%)
HSVhsv(51, 75%, 36%)
CMYKcmyk(0%, 10.8%, 75.3%, 63.5%)
CIE-LABlab(35.15, -3.56, 34.93)
CIE-LCHlch(35.15, 35.11, 95.82°)
OKLaboklab(43.98% -0.0132 0.0779)
OKLCHoklch(43.98% 0.079 99.6)
XYZxyz(7.7625, 8.5759, 2.0569)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5317 #17215D
analogous
#5D3017 #5D5317 #445D17
triadic
#5D5317 #175D53 #53175D
tetradic
#5D5317 #175D30 #17215D #5D1744
square
#5D5317 #175D30 #17215D #5D1744
split-complementary
#5D5317 #17445D #30175D
monochromatic
#191606 #2C270B #5D5317 #8E7F23 #BFAB2F

Accessibility & contrast

On white

7.73
#5D5317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5D5317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5317
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5317#FFFFFF#000000##FFFFFF
##5D53171.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5317;
/* rgb */ color: rgb(93, 83, 23);
/* oklch */ color: oklch(44.0% 0.079 99.6);
Tailwind
colors: {
  custom: {
    50: '#8e8358',
    500: '#5d5317',
    950: '#000000',
  },
}
SCSS
$custom: #5d5317;
$custom-light: #8e8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5317",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 51.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43978,
    "c": 0.079,
    "h": 99.6
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#5D5317
secondary
#3C4994
accent
#5BE344
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5317

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

Preview Lab → · Contrast checker → · Palette generator →

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