#5D4D16#5D4D16

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

Color values

HEX#5D4D16
RGBrgb(93, 77, 22)
HSLhsl(46, 62%, 23%)
HSVhsv(46, 76%, 36%)
CMYKcmyk(0%, 17.2%, 76.3%, 63.5%)
CIE-LABlab(33.34, 0.01, 33.57)
CIE-LCHlch(33.34, 33.57, 89.98°)
OKLaboklab(42.54% -0.0031 0.0748)
OKLCHoklch(42.54% 0.075 92.4)
XYZxyz(7.3133, 7.6933, 1.8586)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D16 #16265D
analogous
#5D2A16 #5D4D16 #495D16
triadic
#5D4D16 #165D4D #4D165D
tetradic
#5D4D16 #165D2A #16265D #5D1649
square
#5D4D16 #165D2A #16265D #5D1649
split-complementary
#5D4D16 #16495D #2A165D
monochromatic
#191406 #2C240A #5D4D16 #8E7622 #C09F2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4D16#FFFFFF#000000##FFFFFF
##5D4D161.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)
#564C0E
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#654642
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4d16;
/* rgb */ color: rgb(93, 77, 22);
/* oklch */ color: oklch(42.5% 0.075 92.4);
Tailwind
colors: {
  custom: {
    50: '#8e7e57',
    500: '#5d4d16',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d16;
$custom-light: #8e7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d16",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 46.479,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.07486,
    "h": 92.4
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#5D4D16
secondary
#3B4F94
accent
#67E543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5D4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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