#5D4D15#5D4D15

#5D4D15 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.076 H 92.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#5D4D15
RGBrgb(93, 77, 21)
HSLhsl(47, 63%, 22%)
HSVhsv(47, 77%, 36%)
CMYKcmyk(0%, 17.2%, 77.4%, 63.5%)
CIE-LABlab(33.33, -0.05, 34.02)
CIE-LCHlch(33.33, 34.02, 90.08°)
OKLaboklab(42.53% -0.0034 0.0755)
OKLCHoklch(42.53% 0.076 92.6)
XYZxyz(7.3038, 7.6895, 1.8088)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D15 #15255D
analogous
#5D2915 #5D4D15 #495D15
triadic
#5D4D15 #155D4D #4D155D
tetradic
#5D4D15 #155D29 #15255D #5D1549
square
#5D4D15 #155D29 #15255D #5D1549
split-complementary
#5D4D15 #15495D #29155D
monochromatic
#191506 #2B240A #5D4D15 #8F7620 #C1A02C

Accessibility & contrast

On white

8.27
#5D4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5D4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4D15
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4D15#FFFFFF#000000##FFFFFF
##5D4D151.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#654642
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4d15;
/* rgb */ color: rgb(93, 77, 21);
/* oklch */ color: oklch(42.5% 0.076 92.6);
Tailwind
colors: {
  custom: {
    50: '#8e7e56',
    500: '#5d4d15',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d15;
$custom-light: #8e7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d15",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 46.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.07561,
    "h": 92.6
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#5D4D15
secondary
#394E94
accent
#66E642
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5D4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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