#5D4F12#5D4F12

#5D4F12 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.079 H 95.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5D4F12
RGBrgb(93, 79, 18)
HSLhsl(49, 68%, 22%)
HSVhsv(49, 81%, 36%)
CMYKcmyk(0%, 15.1%, 80.6%, 63.5%)
CIE-LABlab(33.91, -1.42, 35.88)
CIE-LCHlch(33.91, 35.91, 92.27°)
OKLaboklab(42.98% -0.0077 0.0788)
OKLCHoklch(42.98% 0.079 95.6)
XYZxyz(7.4198, 7.9632, 1.7184)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4F12 #12205D
analogous
#5D2A12 #5D4F12 #465D12
triadic
#5D4F12 #125D4F #4F125D
tetradic
#5D4F12 #125D2A #12205D #5D1246
square
#5D4F12 #125D2A #12205D #5D1246
split-complementary
#5D4F12 #12465D #2A125D
monochromatic
#1A1605 #2A2308 #5D4F12 #907B1C #C4A626

Accessibility & contrast

On white

8.10
#5D4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5D4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4F12
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4F12#FFFFFF#000000##FFFFFF
##5D4F121.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#654843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d4f12;
/* rgb */ color: rgb(93, 79, 18);
/* oklch */ color: oklch(43.0% 0.079 95.6);
Tailwind
colors: {
  custom: {
    50: '#8e8055',
    500: '#5d4f12',
    950: '#000000',
  },
}
SCSS
$custom: #5d4f12;
$custom-light: #8e8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4f12",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 48.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.0792,
    "h": 95.6
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#5D4F12
secondary
#354795
accent
#5EEA3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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