#5D501F#5D501F

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

Color values

HEX#5D501F
RGBrgb(93, 80, 31)
HSLhsl(47, 50%, 24%)
HSVhsv(47, 67%, 36%)
CMYKcmyk(0%, 14%, 66.7%, 63.5%)
CIE-LABlab(34.32, -1.21, 30.15)
CIE-LCHlch(34.32, 30.17, 92.30°)
OKLaboklab(43.34% -0.0054 0.0692)
OKLCHoklch(43.34% 0.069 94.5)
XYZxyz(7.6305, 8.1638, 2.4699)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D501F #1F2C5D
analogous
#5D311F #5D501F #4B5D1F
triadic
#5D501F #1F5D50 #501F5D
tetradic
#5D501F #1F5D31 #1F2C5D #5D1F4B
square
#5D501F #1F5D31 #1F2C5D #5D1F4B
split-complementary
#5D501F #1F4B5D #311F5D
monochromatic
#171408 #2F2910 #5D501F #8B772E #B99F3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D501F#FFFFFF#000000##FFFFFF
##5D501F1.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)
#584E1A
Deuteranopia (green-blind)
#5C5221
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d501f;
/* rgb */ color: rgb(93, 80, 31);
/* oklch */ color: oklch(43.3% 0.069 94.5);
Tailwind
colors: {
  custom: {
    50: '#8d805d',
    500: '#5d501f',
    950: '#000000',
  },
}
SCSS
$custom: #5d501f;
$custom-light: #8d805d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d501f",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 47.419,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.06941,
    "h": 94.5
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#5D501F
secondary
#465692
accent
#6BDA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D501F

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

Preview Lab → · Contrast checker → · Palette generator →

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