#5D5517#5D5517

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

Color values

HEX#5D5517
RGBrgb(93, 85, 23)
HSLhsl(53, 60%, 23%)
HSVhsv(53, 75%, 36%)
CMYKcmyk(0%, 8.6%, 75.3%, 63.5%)
CIE-LABlab(35.76, -4.75, 35.54)
CIE-LCHlch(35.76, 35.86, 97.62°)
OKLaboklab(44.46% -0.0166 0.0792)
OKLCHoklch(44.46% 0.081 101.8)
XYZxyz(7.9177, 8.8864, 2.1086)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5517 #171F5D
analogous
#5D3217 #5D5517 #425D17
triadic
#5D5517 #175D55 #55175D
tetradic
#5D5517 #175D32 #171F5D #5D1742
square
#5D5517 #175D32 #171F5D #5D1742
split-complementary
#5D5517 #17425D #32175D
monochromatic
#191606 #2C280B #5D5517 #8E8223 #BFAF2F

Accessibility & contrast

On white

7.56
#5D5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5517
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5517#FFFFFF#000000##FFFFFF
##5D55171.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#654F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d5517;
/* rgb */ color: rgb(93, 85, 23);
/* oklch */ color: oklch(44.5% 0.081 101.8);
Tailwind
colors: {
  custom: {
    50: '#8d8458',
    500: '#5d5517',
    950: '#000000',
  },
}
SCSS
$custom: #5d5517;
$custom-light: #8d8458;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5517",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 53.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.0809,
    "h": 101.8
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#5D5517
secondary
#3C4694
accent
#57E344
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5517

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

Preview Lab → · Contrast checker → · Palette generator →

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