#5D4E1F#5D4E1F

#5D4E1F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.9% C 0.068 H 91.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5D4E1F
RGBrgb(93, 78, 31)
HSLhsl(45, 50%, 24%)
HSVhsv(45, 67%, 36%)
CMYKcmyk(0%, 16.1%, 66.7%, 63.5%)
CIE-LABlab(33.72, 0.01, 29.48)
CIE-LCHlch(33.72, 29.48, 89.98°)
OKLaboklab(42.87% -0.0019 0.0678)
OKLCHoklch(42.87% 0.068 91.6)
XYZxyz(7.4863, 7.8753, 2.4218)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E1F #1F2E5D
analogous
#5D2F1F #5D4E1F #4D5D1F
triadic
#5D4E1F #1F5D4E #4E1F5D
tetradic
#5D4E1F #1F5D2F #1F2E5D #5D1F4D
square
#5D4E1F #1F5D2F #1F2E5D #5D1F4D
split-complementary
#5D4E1F #1F4D5D #2F1F5D
monochromatic
#171308 #2F2810 #5D4E1F #8B742E #B99B3E

Accessibility & contrast

On white

8.16
#5D4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5D4E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E1F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E1F#FFFFFF#000000##FFFFFF
##5D4E1F1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1A
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#654844
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d4e1f;
/* rgb */ color: rgb(93, 78, 31);
/* oklch */ color: oklch(42.9% 0.068 91.6);
Tailwind
colors: {
  custom: {
    50: '#8d7f5d',
    500: '#5d4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e1f;
$custom-light: #8d7f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e1f",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 45.484,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.06782,
    "h": 91.6
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#5D4E1F
secondary
#465892
accent
#70DA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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