#5D5115#5D5115

#5D5115 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.079 H 97.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5115
RGBrgb(93, 81, 21)
HSLhsl(50, 63%, 22%)
HSVhsv(50, 77%, 36%)
CMYKcmyk(0%, 12.9%, 77.4%, 63.5%)
CIE-LABlab(34.53, -2.47, 35.20)
CIE-LCHlch(34.53, 35.29, 94.02°)
OKLaboklab(43.48% -0.0103 0.0781)
OKLCHoklch(43.48% 0.079 97.5)
XYZxyz(7.5924, 8.2665, 1.9050)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5115 #15215D
analogous
#5D2D15 #5D5115 #455D15
triadic
#5D5115 #155D51 #51155D
tetradic
#5D5115 #155D2D #15215D #5D1545
square
#5D5115 #155D2D #15215D #5D1545
split-complementary
#5D5115 #15455D #2D155D
monochromatic
#191606 #2B260A #5D5115 #8F7C20 #C1A82C

Accessibility & contrast

On white

7.91
#5D5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5D5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5115
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5115#FFFFFF#000000##FFFFFF
##5D51151.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d5115;
/* rgb */ color: rgb(93, 81, 21);
/* oklch */ color: oklch(43.5% 0.079 97.5);
Tailwind
colors: {
  custom: {
    50: '#8e8157',
    500: '#5d5115',
    950: '#000000',
  },
}
SCSS
$custom: #5d5115;
$custom-light: #8e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5115",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 50,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.07873,
    "h": 97.5
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#5D5115
secondary
#394994
accent
#5DE642
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5115

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

Preview Lab → · Contrast checker → · Palette generator →

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