#5D501E#5D501E

#5D501E is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.070 H 94.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5D501E
RGBrgb(93, 80, 30)
HSLhsl(48, 51%, 24%)
HSVhsv(48, 68%, 36%)
CMYKcmyk(0%, 14%, 67.7%, 63.5%)
CIE-LABlab(34.31, -1.28, 30.65)
CIE-LCHlch(34.31, 30.68, 92.40°)
OKLaboklab(43.33% -0.0057 0.0701)
OKLCHoklch(43.33% 0.07 94.7)
XYZxyz(7.6175, 8.1586, 2.4016)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D501E #1E2B5D
analogous
#5D311E #5D501E #4B5D1E
triadic
#5D501E #1E5D50 #501E5D
tetradic
#5D501E #1E5D31 #1E2B5D #5D1E4B
square
#5D501E #1E5D31 #1E2B5D #5D1E4B
split-complementary
#5D501E #1E4B5D #311E5D
monochromatic
#171407 #2F280F #5D501E #8B782D #BAA03C

Accessibility & contrast

On white

7.98
#5D501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5D501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D501E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D501E#FFFFFF#000000##FFFFFF
##5D501E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#5C5220
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d501e;
/* rgb */ color: rgb(93, 80, 30);
/* oklch */ color: oklch(43.3% 0.070 94.7);
Tailwind
colors: {
  custom: {
    50: '#8d805c',
    500: '#5d501e',
    950: '#000000',
  },
}
SCSS
$custom: #5d501e;
$custom-light: #8d805c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d501e",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 47.619,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.07037,
    "h": 94.7
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#5D501E
secondary
#455592
accent
#6ADB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D501E

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

Preview Lab → · Contrast checker → · Palette generator →

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