#5E501B#5E501B

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

Color values

HEX#5E501B
RGBrgb(94, 80, 27)
HSLhsl(47, 55%, 24%)
HSVhsv(47, 71%, 37%)
CMYKcmyk(0%, 14.9%, 71.3%, 63.1%)
CIE-LABlab(34.39, -1.00, 32.29)
CIE-LCHlch(34.39, 32.30, 91.78°)
OKLaboklab(43.41% -0.0054 0.073)
OKLCHoklch(43.41% 0.073 94.3)
XYZxyz(7.6830, 8.1965, 2.2141)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E501B #1B295E
analogous
#5E2E1B #5E501B #4A5E1B
triadic
#5E501B #1B5E50 #501B5E
tetradic
#5E501B #1B5E2E #1B295E #5E1B4A
square
#5E501B #1B5E2E #1B295E #5E1B4A
split-complementary
#5E501B #1B4A5E #2E1B5E
monochromatic
#181407 #2E280D #5E501B #8E7829 #BDA136

Accessibility & contrast

On white

7.96
#5E501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E501B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E501B#FFFFFF#000000##FFFFFF
##5E501B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E14
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#664945
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e501b;
/* rgb */ color: rgb(94, 80, 27);
/* oklch */ color: oklch(43.4% 0.073 94.3);
Tailwind
colors: {
  custom: {
    50: '#8e805a',
    500: '#5e501b',
    950: '#000000',
  },
}
SCSS
$custom: #5e501b;
$custom-light: #8e805a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e501b",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 47.463,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.07324,
    "h": 94.3
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#5E501B
secondary
#415294
accent
#68DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E501B

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

Preview Lab → · Contrast checker → · Palette generator →

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