#5E4C12#5E4C12

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

Color values

HEX#5E4C12
RGBrgb(94, 76, 18)
HSLhsl(46, 68%, 22%)
HSVhsv(46, 81%, 37%)
CMYKcmyk(0%, 19.1%, 80.9%, 63.1%)
CIE-LABlab(33.12, 0.91, 35.17)
CIE-LCHlch(33.12, 35.18, 88.52°)
OKLaboklab(42.38% -0.0011 0.0773)
OKLCHoklch(42.38% 0.077 90.8)
XYZxyz(7.3101, 7.5927, 1.6527)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4C12 #12245E
analogous
#5E2612 #5E4C12 #4A5E12
triadic
#5E4C12 #125E4C #4C125E
tetradic
#5E4C12 #125E26 #12245E #5E124A
square
#5E4C12 #125E26 #12245E #5E124A
split-complementary
#5E4C12 #124A5E #26125E
monochromatic
#1A1505 #2B2208 #5E4C12 #91761C #C59F26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4C12#FFFFFF#000000##FFFFFF
##5E4C121.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)
#554B08
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#664541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e4c12;
/* rgb */ color: rgb(94, 76, 18);
/* oklch */ color: oklch(42.4% 0.077 90.8);
Tailwind
colors: {
  custom: {
    50: '#8f7d55',
    500: '#5e4c12',
    950: '#000000',
  },
}
SCSS
$custom: #5e4c12;
$custom-light: #8f7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4c12",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 45.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.07728,
    "h": 90.8
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#5E4C12
secondary
#354C96
accent
#66EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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