#5E4E1A#5E4E1A

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

Color values

HEX#5E4E1A
RGBrgb(94, 78, 26)
HSLhsl(46, 57%, 24%)
HSVhsv(46, 72%, 37%)
CMYKcmyk(0%, 17%, 72.3%, 63.1%)
CIE-LABlab(33.78, 0.15, 32.14)
CIE-LCHlch(33.78, 32.14, 89.74°)
OKLaboklab(42.93% -0.0023 0.0725)
OKLCHoklch(42.93% 0.073 91.8)
XYZxyz(7.5273, 7.9035, 2.1061)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E1A #1A2A5E
analogous
#5E2C1A #5E4E1A #4C5E1A
triadic
#5E4E1A #1A5E4E #4E1A5E
tetradic
#5E4E1A #1A5E2C #1A2A5E #5E1A4C
square
#5E4E1A #1A5E2C #1A2A5E #5E1A4C
split-complementary
#5E4E1A #1A4C5E #2C1A5E
monochromatic
#181407 #2E260D #5E4E1A #8E7627 #BE9E35

Accessibility & contrast

On white

8.14
#5E4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E4E1A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E1A#FFFFFF#000000##FFFFFF
##5E4E1A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4e1a;
/* rgb */ color: rgb(94, 78, 26);
/* oklch */ color: oklch(42.9% 0.073 91.8);
Tailwind
colors: {
  custom: {
    50: '#8e7f59',
    500: '#5e4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e1a;
$custom-light: #8e7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e1a",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 45.882,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42925,
    "c": 0.07258,
    "h": 91.8
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#5E4E1A
secondary
#405494
accent
#6CE048
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5E4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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