#5E4E0F#5E4E0F

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

Color values

HEX#5E4E0F
RGBrgb(94, 78, 15)
HSLhsl(48, 72%, 21%)
HSVhsv(48, 84%, 37%)
CMYKcmyk(0%, 17%, 84%, 63.1%)
CIE-LABlab(33.70, -0.45, 36.92)
CIE-LCHlch(33.70, 36.92, 90.70°)
OKLaboklab(42.83% -0.0053 0.0803)
OKLCHoklch(42.83% 0.08 93.8)
XYZxyz(7.4271, 7.8634, 1.5784)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E0F #0F1F5E
analogous
#5E270F #5E4E0F #475E0F
triadic
#5E4E0F #0F5E4E #4E0F5E
tetradic
#5E4E0F #0F5E27 #0F1F5E #5E0F47
square
#5E4E0F #0F5E27 #0F1F5E #5E0F47
split-complementary
#5E4E0F #0F475E #270F5E
monochromatic
#1A1604 #292207 #5E4E0F #937A17 #C8A620

Accessibility & contrast

On white

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

On black

2.57
#5E4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E4E0F#FFFFFF#000000##FFFFFF
##5E4E0F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4e0f;
/* rgb */ color: rgb(94, 78, 15);
/* oklch */ color: oklch(42.8% 0.080 93.8);
Tailwind
colors: {
  custom: {
    50: '#8f7f53',
    500: '#5e4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e0f;
$custom-light: #8f7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e0f",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 47.848,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.08048,
    "h": 93.8
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#5E4E0F
secondary
#314697
accent
#5EEF39
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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