#5D4C12#5D4C12

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

Color values

HEX#5D4C12
RGBrgb(93, 76, 18)
HSLhsl(46, 68%, 22%)
HSVhsv(46, 81%, 36%)
CMYKcmyk(0%, 18.3%, 80.6%, 63.5%)
CIE-LABlab(33.01, 0.41, 35.02)
CIE-LCHlch(33.01, 35.02, 89.33°)
OKLaboklab(42.27% -0.0025 0.077)
OKLCHoklch(42.27% 0.077 91.9)
XYZxyz(7.2082, 7.5401, 1.6479)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4C12 #12235D
analogous
#5D2712 #5D4C12 #495D12
triadic
#5D4C12 #125D4C #4C125D
tetradic
#5D4C12 #125D27 #12235D #5D1249
square
#5D4C12 #125D27 #12235D #5D1249
split-complementary
#5D4C12 #12495D #27125D
monochromatic
#1A1505 #2A2208 #5D4C12 #90761C #C4A026

Accessibility & contrast

On white

8.37
#5D4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5D4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4C12
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4C12#FFFFFF#000000##FFFFFF
##5D4C121.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#595015
Tritanopia (blue-blind)
#654541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4c12;
/* rgb */ color: rgb(93, 76, 18);
/* oklch */ color: oklch(42.3% 0.077 91.9);
Tailwind
colors: {
  custom: {
    50: '#8e7d55',
    500: '#5d4c12',
    950: '#000000',
  },
}
SCSS
$custom: #5d4c12;
$custom-light: #8e7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4c12",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 46.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.07704,
    "h": 91.9
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#5D4C12
secondary
#354B95
accent
#65EA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5D4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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