#5E4D15#5E4D15

#5E4D15 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.6% C 0.076 H 91.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5E4D15
RGBrgb(94, 77, 21)
HSLhsl(46, 63%, 23%)
HSVhsv(46, 78%, 37%)
CMYKcmyk(0%, 18.1%, 77.7%, 63.1%)
CIE-LABlab(33.44, 0.45, 34.16)
CIE-LCHlch(33.44, 34.17, 89.24°)
OKLaboklab(42.64% -0.002 0.0758)
OKLCHoklch(42.64% 0.076 91.5)
XYZxyz(7.4057, 7.7420, 1.8136)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D15 #15265E
analogous
#5E2815 #5E4D15 #4B5E15
triadic
#5E4D15 #155E4D #4D155E
tetradic
#5E4D15 #155E28 #15265E #5E154B
square
#5E4D15 #155E28 #15265E #5E154B
split-complementary
#5E4D15 #154B5E #28155E
monochromatic
#191406 #2C240A #5E4D15 #907620 #C29F2B

Accessibility & contrast

On white

8.24
#5E4D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5E4D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4D15
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4D15#FFFFFF#000000##FFFFFF
##5E4D151.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#664642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4d15;
/* rgb */ color: rgb(94, 77, 21);
/* oklch */ color: oklch(42.6% 0.076 91.5);
Tailwind
colors: {
  custom: {
    50: '#8f7e56',
    500: '#5e4d15',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d15;
$custom-light: #8f7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d15",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 46.027,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.07583,
    "h": 91.5
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#5E4D15
secondary
#394F95
accent
#68E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4D15

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

Preview Lab → · Contrast checker → · Palette generator →

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