#5D5116#5D5116

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

Color values

HEX#5D5116
RGBrgb(93, 81, 22)
HSLhsl(50, 62%, 23%)
HSVhsv(50, 76%, 36%)
CMYKcmyk(0%, 12.9%, 76.3%, 63.5%)
CIE-LABlab(34.54, -2.42, 34.77)
CIE-LCHlch(34.54, 34.85, 93.98°)
OKLaboklab(43.49% -0.0101 0.0773)
OKLCHoklch(43.49% 0.078 97.4)
XYZxyz(7.6018, 8.2703, 1.9548)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5116 #16225D
analogous
#5D2D16 #5D5116 #465D16
triadic
#5D5116 #165D51 #51165D
tetradic
#5D5116 #165D2D #16225D #5D1646
square
#5D5116 #165D2D #16225D #5D1646
split-complementary
#5D5116 #16465D #2D165D
monochromatic
#191606 #2C260A #5D5116 #8E7C22 #C0A72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5116#FFFFFF#000000##FFFFFF
##5D51161.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)
#5A4F0D
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d5116;
/* rgb */ color: rgb(93, 81, 22);
/* oklch */ color: oklch(43.5% 0.078 97.4);
Tailwind
colors: {
  custom: {
    50: '#8e8157',
    500: '#5d5116',
    950: '#000000',
  },
}
SCSS
$custom: #5d5116;
$custom-light: #8e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5116",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 49.859,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.07799,
    "h": 97.4
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#5D5116
secondary
#3B4A94
accent
#5EE543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5116

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

Preview Lab → · Contrast checker → · Palette generator →

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