#5D5612#5D5612

#5D5612 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.7% C 0.085 H 103.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5D5612
RGBrgb(93, 86, 18)
HSLhsl(54, 68%, 22%)
HSVhsv(54, 81%, 36%)
CMYKcmyk(0%, 7.5%, 80.6%, 63.5%)
CIE-LABlab(36.04, -5.61, 37.88)
CIE-LCHlch(36.04, 38.29, 98.43°)
OKLaboklab(44.67% -0.0196 0.0831)
OKLCHoklch(44.67% 0.085 103.3)
XYZxyz(7.9515, 9.0267, 1.8956)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5612 #12195D
analogous
#5D3112 #5D5612 #3F5D12
triadic
#5D5612 #125D56 #56125D
tetradic
#5D5612 #125D31 #12195D #5D123F
square
#5D5612 #125D31 #12195D #5D123F
split-complementary
#5D5612 #123F5D #31125D
monochromatic
#1A1805 #2A2708 #5D5612 #90851C #C4B526

Accessibility & contrast

On white

7.49
#5D5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5612
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5612#FFFFFF#000000##FFFFFF
##5D56121.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#654F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d5612;
/* rgb */ color: rgb(93, 86, 18);
/* oklch */ color: oklch(44.7% 0.085 103.3);
Tailwind
colors: {
  custom: {
    50: '#8e8556',
    500: '#5d5612',
    950: '#000000',
  },
}
SCSS
$custom: #5d5612;
$custom-light: #8e8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5612",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 54.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.08535,
    "h": 103.3
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#5D5612
secondary
#353E95
accent
#4EEA3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5612

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

Preview Lab → · Contrast checker → · Palette generator →

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