#5D4E17#5D4E17

#5D4E17 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.8% C 0.075 H 93.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5D4E17
RGBrgb(93, 78, 23)
HSLhsl(47, 60%, 23%)
HSVhsv(47, 75%, 36%)
CMYKcmyk(0%, 16.1%, 75.3%, 63.5%)
CIE-LABlab(33.64, -0.54, 33.41)
CIE-LCHlch(33.64, 33.41, 90.93°)
OKLaboklab(42.78% -0.0046 0.0747)
OKLCHoklch(42.78% 0.075 93.5)
XYZxyz(7.3936, 7.8382, 1.9339)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E17 #17265D
analogous
#5D2B17 #5D4E17 #495D17
triadic
#5D4E17 #175D4E #4E175D
tetradic
#5D4E17 #175D2B #17265D #5D1749
square
#5D4E17 #175D2B #17265D #5D1749
split-complementary
#5D4E17 #17495D #2B175D
monochromatic
#191506 #2C250B #5D4E17 #8E7723 #BFA02F

Accessibility & contrast

On white

8.18
#5D4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5D4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E17
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E17#FFFFFF#000000##FFFFFF
##5D4E171.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#654743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e17;
/* rgb */ color: rgb(93, 78, 23);
/* oklch */ color: oklch(42.8% 0.075 93.5);
Tailwind
colors: {
  custom: {
    50: '#8e7f58',
    500: '#5d4e17',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e17;
$custom-light: #8e7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e17",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 47.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.07481,
    "h": 93.5
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#5D4E17
secondary
#3C4F94
accent
#66E344
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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