#5E4F12#5E4F12

#5E4F12 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.079 H 94.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5E4F12
RGBrgb(94, 79, 18)
HSLhsl(48, 68%, 22%)
HSVhsv(48, 81%, 37%)
CMYKcmyk(0%, 16%, 80.9%, 63.1%)
CIE-LABlab(34.02, -0.92, 36.02)
CIE-LCHlch(34.02, 36.03, 91.46°)
OKLaboklab(43.09% -0.0063 0.0791)
OKLCHoklch(43.09% 0.079 94.6)
XYZxyz(7.5217, 8.0157, 1.7232)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F12 #12215E
analogous
#5E2912 #5E4F12 #475E12
triadic
#5E4F12 #125E4F #4F125E
tetradic
#5E4F12 #125E29 #12215E #5E1247
square
#5E4F12 #125E29 #12215E #5E1247
split-complementary
#5E4F12 #12475E #29125E
monochromatic
#1A1605 #2B2408 #5E4F12 #917A1C #C5A526

Accessibility & contrast

On white

8.07
#5E4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F12
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F12#FFFFFF#000000##FFFFFF
##5E4F121.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#664843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f12;
/* rgb */ color: rgb(94, 79, 18);
/* oklch */ color: oklch(43.1% 0.079 94.6);
Tailwind
colors: {
  custom: {
    50: '#8f8055',
    500: '#5e4f12',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f12;
$custom-light: #8f8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f12",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 48.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4309,
    "c": 0.07933,
    "h": 94.6
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#5E4F12
secondary
#354996
accent
#5FEB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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