#5D5817#5D5817

#5D5817 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.084 H 104.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5D5817
RGBrgb(93, 88, 23)
HSLhsl(56, 60%, 23%)
HSVhsv(56, 75%, 36%)
CMYKcmyk(0%, 5.4%, 75.3%, 63.5%)
CIE-LABlab(36.68, -6.53, 36.45)
CIE-LCHlch(36.68, 37.03, 100.15°)
OKLaboklab(45.19% -0.0216 0.0811)
OKLCHoklch(45.19% 0.084 104.9)
XYZxyz(8.1589, 9.3688, 2.1890)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5817 #171C5D
analogous
#5D3517 #5D5817 #3F5D17
triadic
#5D5817 #175D58 #58175D
tetradic
#5D5817 #175D35 #171C5D #5D173F
square
#5D5817 #175D35 #171C5D #5D173F
split-complementary
#5D5817 #173F5D #35175D
monochromatic
#191706 #2C2A0B #5D5817 #8E8623 #BFB52F

Accessibility & contrast

On white

7.31
#5D5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5817
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5817#FFFFFF#000000##FFFFFF
##5D58171.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550D
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#64524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d5817;
/* rgb */ color: rgb(93, 88, 23);
/* oklch */ color: oklch(45.2% 0.084 104.9);
Tailwind
colors: {
  custom: {
    50: '#8d8659',
    500: '#5d5817',
    950: '#000000',
  },
}
SCSS
$custom: #5d5817;
$custom-light: #8d8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5817",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 55.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.08392,
    "h": 104.9
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#5D5817
secondary
#3C4294
accent
#50E344
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5D5817

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

Preview Lab → · Contrast checker → · Palette generator →

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