#5D4D0F#5D4D0F

#5D4D0F is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.080 H 93.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5D4D0F
RGBrgb(93, 77, 15)
HSLhsl(48, 72%, 21%)
HSVhsv(48, 84%, 36%)
CMYKcmyk(0%, 17.2%, 83.9%, 63.5%)
CIE-LABlab(33.29, -0.34, 36.50)
CIE-LCHlch(33.29, 36.50, 90.54°)
OKLaboklab(42.48% -0.005 0.0795)
OKLCHoklch(42.48% 0.08 93.6)
XYZxyz(7.2547, 7.6698, 1.5502)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D0F #0F1F5D
analogous
#5D260F #5D4D0F #465D0F
triadic
#5D4D0F #0F5D4D #4D0F5D
tetradic
#5D4D0F #0F5D26 #0F1F5D #5D0F46
square
#5D4D0F #0F5D26 #0F1F5D #5D0F46
split-complementary
#5D4D0F #0F465D #260F5D
monochromatic
#1A1604 #282106 #5D4D0F #927917 #C6A420

Accessibility & contrast

On white

8.29
#5D4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4D0F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4D0F#FFFFFF#000000##FFFFFF
##5D4D0F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C03
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#654641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4d0f;
/* rgb */ color: rgb(93, 77, 15);
/* oklch */ color: oklch(42.5% 0.080 93.6);
Tailwind
colors: {
  custom: {
    50: '#8e7e53',
    500: '#5d4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d0f;
$custom-light: #8e7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d0f",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 47.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42481,
    "c": 0.07962,
    "h": 93.6
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#5D4D0F
secondary
#314696
accent
#5EEF39
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5D4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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