#5D5314#5D5314

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

Color values

HEX#5D5314
RGBrgb(93, 83, 20)
HSLhsl(52, 65%, 22%)
HSVhsv(52, 78%, 36%)
CMYKcmyk(0%, 10.8%, 78.5%, 63.5%)
CIE-LABlab(35.13, -3.73, 36.22)
CIE-LCHlch(35.13, 36.41, 95.88°)
OKLaboklab(43.95% -0.014 0.08)
OKLCHoklch(43.95% 0.081 99.9)
XYZxyz(7.7341, 8.5645, 1.9074)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5314 #141E5D
analogous
#5D2F14 #5D5314 #435D14
triadic
#5D5314 #145D53 #53145D
tetradic
#5D5314 #145D2F #141E5D #5D1443
square
#5D5314 #145D2F #141E5D #5D1443
split-complementary
#5D5314 #14435D #2F145D
monochromatic
#191605 #2B2609 #5D5314 #8F801F #C2AD2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5314#FFFFFF#000000##FFFFFF
##5D53141.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)
#5C5009
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#654C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5314;
/* rgb */ color: rgb(93, 83, 20);
/* oklch */ color: oklch(44.0% 0.081 99.9);
Tailwind
colors: {
  custom: {
    50: '#8e8357',
    500: '#5d5314',
    950: '#000000',
  },
}
SCSS
$custom: #5d5314;
$custom-light: #8e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5314",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 51.781,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.0812,
    "h": 99.9
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#5D5314
secondary
#384595
accent
#57E840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5314

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

Preview Lab → · Contrast checker → · Palette generator →

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