#5E4E11#5E4E11

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

Color values

HEX#5E4E11
RGBrgb(94, 78, 17)
HSLhsl(48, 69%, 22%)
HSVhsv(48, 82%, 37%)
CMYKcmyk(0%, 17%, 81.9%, 63.1%)
CIE-LABlab(33.71, -0.36, 36.14)
CIE-LCHlch(33.71, 36.14, 90.57°)
OKLaboklab(42.85% -0.0049 0.0791)
OKLCHoklch(42.85% 0.079 93.5)
XYZxyz(7.4421, 7.8694, 1.6572)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E11 #11215E
analogous
#5E2811 #5E4E11 #485E11
triadic
#5E4E11 #115E4E #4E115E
tetradic
#5E4E11 #115E28 #11215E #5E1148
square
#5E4E11 #115E28 #11215E #5E1148
split-complementary
#5E4E11 #11485E #28115E
monochromatic
#1A1605 #2A2308 #5E4E11 #92791A #C6A424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4E11#FFFFFF#000000##FFFFFF
##5E4E111.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)
#574D06
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#664742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e11;
/* rgb */ color: rgb(94, 78, 17);
/* oklch */ color: oklch(42.8% 0.079 93.5);
Tailwind
colors: {
  custom: {
    50: '#8f7f54',
    500: '#5e4e11',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e11;
$custom-light: #8f7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e11",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 47.532,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.07926,
    "h": 93.5
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#5E4E11
secondary
#344997
accent
#60EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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