#5E501D#5E501D

#5E501D is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.071 H 93.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5E501D
RGBrgb(94, 80, 29)
HSLhsl(47, 53%, 24%)
HSVhsv(47, 69%, 37%)
CMYKcmyk(0%, 14.9%, 69.1%, 63.1%)
CIE-LABlab(34.41, -0.86, 31.30)
CIE-LCHlch(34.41, 31.32, 91.58°)
OKLaboklab(43.43% -0.0047 0.0713)
OKLCHoklch(43.43% 0.071 93.8)
XYZxyz(7.7069, 8.2061, 2.3402)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E501D #1D2B5E
analogous
#5E301D #5E501D #4C5E1D
triadic
#5E501D #1D5E50 #501D5E
tetradic
#5E501D #1D5E30 #1D2B5E #5E1D4C
square
#5E501D #1D5E30 #1D2B5E #5E1D4C
split-complementary
#5E501D #1D4C5E #301D5E
monochromatic
#171407 #2F280F #5E501D #8D782B #BCA03A

Accessibility & contrast

On white

7.95
#5E501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E501D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E501D#FFFFFF#000000##FFFFFF
##5E501D1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E17
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e501d;
/* rgb */ color: rgb(94, 80, 29);
/* oklch */ color: oklch(43.4% 0.071 93.8);
Tailwind
colors: {
  custom: {
    50: '#8e805c',
    500: '#5e501d',
    950: '#000000',
  },
}
SCSS
$custom: #5e501d;
$custom-light: #8e805c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e501d",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 47.077,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.07147,
    "h": 93.8
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#5E501D
secondary
#445593
accent
#6BDC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E501D

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

Preview Lab → · Contrast checker → · Palette generator →

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