#5E4D0F#5E4D0F

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

Color values

HEX#5E4D0F
RGBrgb(94, 77, 15)
HSLhsl(47, 72%, 21%)
HSVhsv(47, 84%, 37%)
CMYKcmyk(0%, 18.1%, 84%, 63.1%)
CIE-LABlab(33.40, 0.16, 36.65)
CIE-LCHlch(33.40, 36.65, 89.75°)
OKLaboklab(42.6% -0.0036 0.0797)
OKLCHoklch(42.6% 0.08 92.6)
XYZxyz(7.3566, 7.7224, 1.5549)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D0F #0F205E
analogous
#5E260F #5E4D0F #485E0F
triadic
#5E4D0F #0F5E4D #4D0F5E
tetradic
#5E4D0F #0F5E26 #0F205E #5E0F48
square
#5E4D0F #0F5E26 #0F205E #5E0F48
split-complementary
#5E4D0F #0F485E #260F5E
monochromatic
#1A1604 #292207 #5E4D0F #937817 #C8A320

Accessibility & contrast

On white

8.25
#5E4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5E4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4D0F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4D0F#FFFFFF#000000##FFFFFF
##5E4D0F1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#664641
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4d0f;
/* rgb */ color: rgb(94, 77, 15);
/* oklch */ color: oklch(42.6% 0.080 92.6);
Tailwind
colors: {
  custom: {
    50: '#8f7e53',
    500: '#5e4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d0f;
$custom-light: #8f7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d0f",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 47.089,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.07979,
    "h": 92.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#5E4D0F
secondary
#314797
accent
#60EF39
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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