#5E4D11#5E4D11

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

Color values

HEX#5E4D11
RGBrgb(94, 77, 17)
HSLhsl(47, 69%, 22%)
HSVhsv(47, 82%, 37%)
CMYKcmyk(0%, 18.1%, 81.9%, 63.1%)
CIE-LABlab(33.41, 0.25, 35.86)
CIE-LCHlch(33.41, 35.86, 89.60°)
OKLaboklab(42.61% -0.0031 0.0785)
OKLCHoklch(42.61% 0.079 92.3)
XYZxyz(7.3716, 7.7284, 1.6337)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D11 #11225E
analogous
#5E2711 #5E4D11 #495E11
triadic
#5E4D11 #115E4D #4D115E
tetradic
#5E4D11 #115E27 #11225E #5E1149
square
#5E4D11 #115E27 #11225E #5E1149
split-complementary
#5E4D11 #11495E #27115E
monochromatic
#1A1505 #2A2308 #5E4D11 #92771A #C6A224

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4D11#FFFFFF#000000##FFFFFF
##5E4D111.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)
#564C06
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#664641
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4d11;
/* rgb */ color: rgb(94, 77, 17);
/* oklch */ color: oklch(42.6% 0.079 92.3);
Tailwind
colors: {
  custom: {
    50: '#8f7e54',
    500: '#5e4d11',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d11;
$custom-light: #8f7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d11",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 46.753,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.07857,
    "h": 92.3
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#5E4D11
secondary
#344A97
accent
#63EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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