#5F501D#5F501D

#5F501D is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.072 H 92.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5F501D
RGBrgb(95, 80, 29)
HSLhsl(46, 53%, 24%)
HSVhsv(46, 69%, 37%)
CMYKcmyk(0%, 15.8%, 69.5%, 62.7%)
CIE-LABlab(34.52, -0.37, 31.45)
CIE-LCHlch(34.52, 31.46, 90.68°)
OKLaboklab(43.54% -0.0034 0.0716)
OKLCHoklch(43.54% 0.072 92.7)
XYZxyz(7.8101, 8.2593, 2.3450)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F501D #1D2C5F
analogous
#5F2F1D #5F501D #4D5F1D
triadic
#5F501D #1D5F50 #501D5F
tetradic
#5F501D #1D5F2F #1D2C5F #5F1D4D
square
#5F501D #1D5F2F #1D2C5F #5F1D4D
split-complementary
#5F501D #1D4D5F #2F1D5F
monochromatic
#171407 #30290F #5F501D #8E772B #BD9F3A

Accessibility & contrast

On white

7.92
#5F501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5F501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F501D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F501D#FFFFFF#000000##FFFFFF
##5F501D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#674945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f501d;
/* rgb */ color: rgb(95, 80, 29);
/* oklch */ color: oklch(43.5% 0.072 92.7);
Tailwind
colors: {
  custom: {
    50: '#8f805c',
    500: '#5f501d',
    950: '#000000',
  },
}
SCSS
$custom: #5f501d;
$custom-light: #8f805c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f501d",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 46.364,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.07167,
    "h": 92.7
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#5F501D
secondary
#445694
accent
#6CDD4B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F501D

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

Preview Lab → · Contrast checker → · Palette generator →

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