#5E4E13#5E4E13

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

Color values

HEX#5E4E13
RGBrgb(94, 78, 19)
HSLhsl(47, 66%, 22%)
HSVhsv(47, 80%, 37%)
CMYKcmyk(0%, 17%, 79.8%, 63.1%)
CIE-LABlab(33.72, -0.26, 35.32)
CIE-LCHlch(33.72, 35.32, 90.42°)
OKLaboklab(42.86% -0.0043 0.0778)
OKLCHoklch(42.86% 0.078 93.2)
XYZxyz(7.4584, 7.8759, 1.7433)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E13 #13235E
analogous
#5E2913 #5E4E13 #495E13
triadic
#5E4E13 #135E4E #4E135E
tetradic
#5E4E13 #135E29 #13235E #5E1349
square
#5E4E13 #135E29 #13235E #5E1349
split-complementary
#5E4E13 #13495E #29135E
monochromatic
#191505 #2B2409 #5E4E13 #91781D #C4A228

Accessibility & contrast

On white

8.16
#5E4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E4E13
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E13#FFFFFF#000000##FFFFFF
##5E4E131.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D09
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#664742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e13;
/* rgb */ color: rgb(94, 78, 19);
/* oklch */ color: oklch(42.9% 0.078 93.2);
Tailwind
colors: {
  custom: {
    50: '#8f7f55',
    500: '#5e4e13',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e13;
$custom-light: #8f7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e13",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 47.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.07793,
    "h": 93.2
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#5E4E13
secondary
#374B96
accent
#63E93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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