#5E4E17#5E4E17

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

Color values

HEX#5E4E17
RGBrgb(94, 78, 23)
HSLhsl(46, 61%, 23%)
HSVhsv(46, 76%, 37%)
CMYKcmyk(0%, 17%, 75.5%, 63.1%)
CIE-LABlab(33.75, -0.04, 33.56)
CIE-LCHlch(33.75, 33.56, 90.07°)
OKLaboklab(42.9% -0.0032 0.0749)
OKLCHoklch(42.9% 0.075 92.5)
XYZxyz(7.4955, 7.8908, 1.9387)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E17 #17275E
analogous
#5E2A17 #5E4E17 #4A5E17
triadic
#5E4E17 #175E4E #4E175E
tetradic
#5E4E17 #175E2A #17275E #5E174A
square
#5E4E17 #175E2A #17275E #5E174A
split-complementary
#5E4E17 #174A5E #2A175E
monochromatic
#191406 #2D250B #5E4E17 #8F7723 #C0A02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4E17#FFFFFF#000000##FFFFFF
##5E4E171.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)
#574D0F
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#664743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e17;
/* rgb */ color: rgb(94, 78, 23);
/* oklch */ color: oklch(42.9% 0.075 92.5);
Tailwind
colors: {
  custom: {
    50: '#8e7f58',
    500: '#5e4e17',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e17;
$custom-light: #8e7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e17",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 46.479,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.07501,
    "h": 92.5
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#5E4E17
secondary
#3C5095
accent
#68E444
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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