#5E4C0F#5E4C0F

#5E4C0F is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.4% C 0.079 H 91.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5E4C0F
RGBrgb(94, 76, 15)
HSLhsl(46, 72%, 21%)
HSVhsv(46, 84%, 37%)
CMYKcmyk(0%, 19.1%, 84%, 63.1%)
CIE-LABlab(33.10, 0.77, 36.37)
CIE-LCHlch(33.10, 36.38, 88.78°)
OKLaboklab(42.36% -0.0019 0.0791)
OKLCHoklch(42.36% 0.079 91.4)
XYZxyz(7.2872, 7.5835, 1.5318)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4C0F #0F215E
analogous
#5E250F #5E4C0F #495E0F
triadic
#5E4C0F #0F5E4C #4C0F5E
tetradic
#5E4C0F #0F5E25 #0F215E #5E0F49
square
#5E4C0F #0F5E25 #0F215E #5E0F49
split-complementary
#5E4C0F #0F495E #250F5E
monochromatic
#1A1504 #292107 #5E4C0F #937717 #C8A120

Accessibility & contrast

On white

8.34
#5E4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5E4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4C0F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4C0F#FFFFFF#000000##FFFFFF
##5E4C0F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#664540
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e4c0f;
/* rgb */ color: rgb(94, 76, 15);
/* oklch */ color: oklch(42.4% 0.079 91.4);
Tailwind
colors: {
  custom: {
    50: '#8f7d53',
    500: '#5e4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4c0f;
$custom-light: #8f7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4c0f",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 46.329,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.07915,
    "h": 91.4
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#5E4C0F
secondary
#314997
accent
#62EF39
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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