#5D5318#5D5318

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

Color values

HEX#5D5318
RGBrgb(93, 83, 24)
HSLhsl(51, 59%, 23%)
HSVhsv(51, 74%, 36%)
CMYKcmyk(0%, 10.8%, 74.2%, 63.5%)
CIE-LABlab(35.16, -3.50, 34.49)
CIE-LCHlch(35.16, 34.66, 95.80°)
OKLaboklab(43.99% -0.0129 0.0772)
OKLCHoklch(43.99% 0.078 99.5)
XYZxyz(7.7727, 8.5800, 2.1107)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5318 #18225D
analogous
#5D3018 #5D5318 #445D18
triadic
#5D5318 #185D53 #53185D
tetradic
#5D5318 #185D30 #18225D #5D1844
square
#5D5318 #185D30 #18225D #5D1844
split-complementary
#5D5318 #18445D #30185D
monochromatic
#181606 #2C280B #5D5318 #8E7E25 #BEAA31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5318#FFFFFF#000000##FFFFFF
##5D53181.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)
#5C5110
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#654D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5318;
/* rgb */ color: rgb(93, 83, 24);
/* oklch */ color: oklch(44.0% 0.078 99.5);
Tailwind
colors: {
  custom: {
    50: '#8d8359',
    500: '#5d5318',
    950: '#000000',
  },
}
SCSS
$custom: #5d5318;
$custom-light: #8d8359;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5318",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 51.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.07822,
    "h": 99.5
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#5D5318
secondary
#3D4A93
accent
#5CE246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5D5318

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

Preview Lab → · Contrast checker → · Palette generator →

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