#5D4E15#5D4E15

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

Color values

HEX#5D4E15
RGBrgb(93, 78, 21)
HSLhsl(48, 63%, 22%)
HSVhsv(48, 77%, 36%)
CMYKcmyk(0%, 16.1%, 77.4%, 63.5%)
CIE-LABlab(33.63, -0.66, 34.31)
CIE-LCHlch(33.63, 34.32, 91.10°)
OKLaboklab(42.76% -0.0052 0.0762)
OKLCHoklch(42.76% 0.076 93.9)
XYZxyz(7.3743, 7.8305, 1.8323)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E15 #15245D
analogous
#5D2A15 #5D4E15 #485D15
triadic
#5D4E15 #155D4E #4E155D
tetradic
#5D4E15 #155D2A #15245D #5D1548
square
#5D4E15 #155D2A #15245D #5D1548
split-complementary
#5D4E15 #15485D #2A155D
monochromatic
#191506 #2B240A #5D4E15 #8F7820 #C1A22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4E15#FFFFFF#000000##FFFFFF
##5D4E151.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)
#574C0C
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#654743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e15;
/* rgb */ color: rgb(93, 78, 21);
/* oklch */ color: oklch(42.8% 0.076 93.9);
Tailwind
colors: {
  custom: {
    50: '#8e7f57',
    500: '#5d4e15',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e15;
$custom-light: #8e7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e15",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 47.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.07633,
    "h": 93.9
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#5D4E15
secondary
#394C94
accent
#64E642
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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