#5E4E12#5E4E12

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

Color values

HEX#5E4E12
RGBrgb(94, 78, 18)
HSLhsl(47, 68%, 22%)
HSVhsv(47, 81%, 37%)
CMYKcmyk(0%, 17%, 80.9%, 63.1%)
CIE-LABlab(33.72, -0.31, 35.74)
CIE-LCHlch(33.72, 35.74, 90.50°)
OKLaboklab(42.85% -0.0046 0.0785)
OKLCHoklch(42.85% 0.079 93.4)
XYZxyz(7.4501, 7.8726, 1.6993)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E12 #12225E
analogous
#5E2812 #5E4E12 #485E12
triadic
#5E4E12 #125E4E #4E125E
tetradic
#5E4E12 #125E28 #12225E #5E1248
square
#5E4E12 #125E28 #12225E #5E1248
split-complementary
#5E4E12 #12485E #28125E
monochromatic
#1A1505 #2B2308 #5E4E12 #91791C #C5A326

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4E12#FFFFFF#000000##FFFFFF
##5E4E121.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)
#574D07
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#664742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e12;
/* rgb */ color: rgb(94, 78, 18);
/* oklch */ color: oklch(42.9% 0.079 93.4);
Tailwind
colors: {
  custom: {
    50: '#8f7f55',
    500: '#5e4e12',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e12;
$custom-light: #8f7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e12",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 47.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.07861,
    "h": 93.4
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#5E4E12
secondary
#354A96
accent
#62EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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