#5E4E15#5E4E15

#5E4E15 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.9% C 0.077 H 92.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5E4E15
RGBrgb(94, 78, 21)
HSLhsl(47, 63%, 23%)
HSVhsv(47, 78%, 37%)
CMYKcmyk(0%, 17%, 77.7%, 63.1%)
CIE-LABlab(33.74, -0.16, 34.46)
CIE-LCHlch(33.74, 34.46, 90.26°)
OKLaboklab(42.88% -0.0038 0.0764)
OKLCHoklch(42.88% 0.077 92.8)
XYZxyz(7.4762, 7.8830, 1.8371)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E15 #15255E
analogous
#5E2915 #5E4E15 #4A5E15
triadic
#5E4E15 #155E4E #4E155E
tetradic
#5E4E15 #155E29 #15255E #5E154A
square
#5E4E15 #155E29 #15255E #5E154A
split-complementary
#5E4E15 #154A5E #29155E
monochromatic
#191506 #2C240A #5E4E15 #907820 #C2A12B

Accessibility & contrast

On white

8.15
#5E4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5E4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E15
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E15#FFFFFF#000000##FFFFFF
##5E4E151.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#664743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e15;
/* rgb */ color: rgb(94, 78, 21);
/* oklch */ color: oklch(42.9% 0.077 92.8);
Tailwind
colors: {
  custom: {
    50: '#8f7f57',
    500: '#5e4e15',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e15;
$custom-light: #8f7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e15",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 46.849,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.07652,
    "h": 92.8
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#5E4E15
secondary
#394E95
accent
#66E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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