#5E4D12#5E4D12

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

Color values

HEX#5E4D12
RGBrgb(94, 77, 18)
HSLhsl(47, 68%, 22%)
HSVhsv(47, 81%, 37%)
CMYKcmyk(0%, 18.1%, 80.9%, 63.1%)
CIE-LABlab(33.42, 0.30, 35.45)
CIE-LCHlch(33.42, 35.45, 89.52°)
OKLaboklab(42.62% -0.0029 0.0779)
OKLCHoklch(42.62% 0.078 92.1)
XYZxyz(7.3796, 7.7316, 1.6758)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D12 #12235E
analogous
#5E2712 #5E4D12 #495E12
triadic
#5E4D12 #125E4D #4D125E
tetradic
#5E4D12 #125E27 #12235E #5E1249
square
#5E4D12 #125E27 #12235E #5E1249
split-complementary
#5E4D12 #12495E #27125E
monochromatic
#1A1505 #2B2308 #5E4D12 #91771C #C5A126

Accessibility & contrast

On white

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

On black

2.55
#5E4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E4D12#FFFFFF#000000##FFFFFF
##5E4D121.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C08
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#664642
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4d12;
/* rgb */ color: rgb(94, 77, 18);
/* oklch */ color: oklch(42.6% 0.078 92.1);
Tailwind
colors: {
  custom: {
    50: '#8f7e55',
    500: '#5e4d12',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d12;
$custom-light: #8f7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d12",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 46.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.07792,
    "h": 92.1
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#5E4D12
secondary
#354B96
accent
#64EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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