#5E4B0F#5E4B0F

#5E4B0F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.1% C 0.079 H 90.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5E4B0F
RGBrgb(94, 75, 15)
HSLhsl(46, 72%, 21%)
HSVhsv(46, 84%, 37%)
CMYKcmyk(0%, 20.2%, 84%, 63.1%)
CIE-LABlab(32.80, 1.39, 36.10)
CIE-LCHlch(32.80, 36.13, 87.80°)
OKLaboklab(42.13% -0.0001 0.0786)
OKLCHoklch(42.13% 0.079 90.1)
XYZxyz(7.2188, 7.4468, 1.5090)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4B0F #0F225E
analogous
#5E240F #5E4B0F #4A5E0F
triadic
#5E4B0F #0F5E4B #4B0F5E
tetradic
#5E4B0F #0F5E24 #0F225E #5E0F4A
square
#5E4B0F #0F5E24 #0F225E #5E0F4A
split-complementary
#5E4B0F #0F4A5E #240F5E
monochromatic
#1A1504 #292107 #5E4B0F #937517 #C89F20

Accessibility & contrast

On white

8.44
#5E4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E4B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4B0F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4B0F#FFFFFF#000000##FFFFFF
##5E4B0F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#674440
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e4b0f;
/* rgb */ color: rgb(94, 75, 15);
/* oklch */ color: oklch(42.1% 0.079 90.1);
Tailwind
colors: {
  custom: {
    50: '#8f7d53',
    500: '#5e4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4b0f;
$custom-light: #8f7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4b0f",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 45.57,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.07855,
    "h": 90.1
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#5E4B0F
secondary
#314A97
accent
#65EF39
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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