#5D5113#5D5113

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

Color values

HEX#5D5113
RGBrgb(93, 81, 19)
HSLhsl(50, 66%, 22%)
HSVhsv(50, 80%, 36%)
CMYKcmyk(0%, 12.9%, 79.6%, 63.5%)
CIE-LABlab(34.52, -2.58, 36.04)
CIE-LCHlch(34.52, 36.14, 94.09°)
OKLaboklab(43.46% -0.0109 0.0794)
OKLCHoklch(43.46% 0.08 97.8)
XYZxyz(7.5746, 8.2594, 1.8112)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5113 #131F5D
analogous
#5D2C13 #5D5113 #445D13
triadic
#5D5113 #135D51 #51135D
tetradic
#5D5113 #135D2C #131F5D #5D1344
square
#5D5113 #135D2C #131F5D #5D1344
split-complementary
#5D5113 #13445D #2C135D
monochromatic
#191605 #2A2509 #5D5113 #907D1D #C3AA28

Accessibility & contrast

On white

7.92
#5D5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D5113
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5113#FFFFFF#000000##FFFFFF
##5D51131.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5113;
/* rgb */ color: rgb(93, 81, 19);
/* oklch */ color: oklch(43.5% 0.080 97.8);
Tailwind
colors: {
  custom: {
    50: '#8e8156',
    500: '#5d5113',
    950: '#000000',
  },
}
SCSS
$custom: #5d5113;
$custom-light: #8e8156;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5113",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 50.27,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.08014,
    "h": 97.8
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#5D5113
secondary
#374695
accent
#5AE93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5113

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

Preview Lab → · Contrast checker → · Palette generator →

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