#5D4D0E#5D4D0E

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

Color values

HEX#5D4D0E
RGBrgb(93, 77, 14)
HSLhsl(48, 74%, 21%)
HSVhsv(48, 85%, 36%)
CMYKcmyk(0%, 17.2%, 84.9%, 63.5%)
CIE-LABlab(33.28, -0.38, 36.88)
CIE-LCHlch(33.28, 36.88, 90.60°)
OKLaboklab(42.47% -0.0052 0.08)
OKLCHoklch(42.47% 0.08 93.7)
XYZxyz(7.2478, 7.6670, 1.5135)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D0E #0E1E5D
analogous
#5D250E #5D4D0E #455D0E
triadic
#5D4D0E #0E5D4D #4D0E5D
tetradic
#5D4D0E #0E5D25 #0E1E5D #5D0E45
square
#5D4D0E #0E5D25 #0E1E5D #5D0E45
split-complementary
#5D4D0E #0E455D #250E5D
monochromatic
#1B1604 #282106 #5D4D0E #927916 #C7A51E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4D0E#FFFFFF#000000##FFFFFF
##5D4D0E1.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)
#564C02
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#654641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d4d0e;
/* rgb */ color: rgb(93, 77, 14);
/* oklch */ color: oklch(42.5% 0.080 93.7);
Tailwind
colors: {
  custom: {
    50: '#8e7e53',
    500: '#5d4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d0e;
$custom-light: #8e7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d0e",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 47.848,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.0802,
    "h": 93.7
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#5D4D0E
secondary
#304597
accent
#5DF037
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5D4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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