#5D5316#5D5316

#5D5316 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.080 H 99.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5D5316
RGBrgb(93, 83, 22)
HSLhsl(52, 62%, 23%)
HSVhsv(52, 76%, 36%)
CMYKcmyk(0%, 10.8%, 76.3%, 63.5%)
CIE-LABlab(35.15, -3.62, 35.37)
CIE-LCHlch(35.15, 35.55, 95.84°)
OKLaboklab(43.97% -0.0135 0.0786)
OKLCHoklch(43.97% 0.08 99.7)
XYZxyz(7.7526, 8.5720, 2.0051)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5316 #16205D
analogous
#5D2F16 #5D5316 #445D16
triadic
#5D5316 #165D53 #53165D
tetradic
#5D5316 #165D2F #16205D #5D1644
square
#5D5316 #165D2F #16205D #5D1644
split-complementary
#5D5316 #16445D #2F165D
monochromatic
#191606 #2C270A #5D5316 #8E7F22 #C0AB2D

Accessibility & contrast

On white

7.74
#5D5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5316
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5316#FFFFFF#000000##FFFFFF
##5D53161.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#654C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5316;
/* rgb */ color: rgb(93, 83, 22);
/* oklch */ color: oklch(44.0% 0.080 99.7);
Tailwind
colors: {
  custom: {
    50: '#8e8358',
    500: '#5d5316',
    950: '#000000',
  },
}
SCSS
$custom: #5d5316;
$custom-light: #8e8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5316",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 51.549,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.07976,
    "h": 99.7
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#5D5316
secondary
#3B4794
accent
#5AE543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5316

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

Preview Lab → · Contrast checker → · Palette generator →

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