#5D5617#5D5617

#5D5617 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.7% C 0.082 H 102.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5D5617
RGBrgb(93, 86, 23)
HSLhsl(54, 60%, 23%)
HSVhsv(54, 75%, 36%)
CMYKcmyk(0%, 7.5%, 75.3%, 63.5%)
CIE-LABlab(36.07, -5.35, 35.84)
CIE-LCHlch(36.07, 36.24, 98.48°)
OKLaboklab(44.71% -0.0182 0.0798)
OKLCHoklch(44.71% 0.082 102.9)
XYZxyz(7.9970, 9.0449, 2.1351)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5617 #171E5D
analogous
#5D3317 #5D5617 #415D17
triadic
#5D5617 #175D56 #56175D
tetradic
#5D5617 #175D33 #171E5D #5D1741
square
#5D5617 #175D33 #171E5D #5D1741
split-complementary
#5D5617 #17415D #33175D
monochromatic
#191706 #2C290B #5D5617 #8E8323 #BFB12F

Accessibility & contrast

On white

7.48
#5D5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5617
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5617#FFFFFF#000000##FFFFFF
##5D56171.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#645049
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d5617;
/* rgb */ color: rgb(93, 86, 23);
/* oklch */ color: oklch(44.7% 0.082 102.9);
Tailwind
colors: {
  custom: {
    50: '#8d8559',
    500: '#5d5617',
    950: '#000000',
  },
}
SCSS
$custom: #5d5617;
$custom-light: #8d8559;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5617",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 54,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.08188,
    "h": 102.9
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#5D5617
secondary
#3C4594
accent
#54E344
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5617

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

Preview Lab → · Contrast checker → · Palette generator →

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