#5E5111#5E5111

#5E5111 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.082 H 97.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5111
RGBrgb(94, 81, 17)
HSLhsl(50, 69%, 22%)
HSVhsv(50, 82%, 37%)
CMYKcmyk(0%, 13.8%, 81.9%, 63.1%)
CIE-LABlab(34.61, -2.18, 36.98)
CIE-LCHlch(34.61, 37.05, 93.37°)
OKLaboklab(43.56% -0.01 0.0809)
OKLCHoklch(43.56% 0.082 97.1)
XYZxyz(7.6601, 8.3054, 1.7298)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5111 #111E5E
analogous
#5E2B11 #5E5111 #455E11
triadic
#5E5111 #115E51 #51115E
tetradic
#5E5111 #115E2B #111E5E #5E1145
square
#5E5111 #115E2B #111E5E #5E1145
split-complementary
#5E5111 #11455E #2B115E
monochromatic
#1A1605 #2A2408 #5E5111 #927E1A #C6AA24

Accessibility & contrast

On white

7.89
#5E5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5111
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5111#FFFFFF#000000##FFFFFF
##5E51111.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5111;
/* rgb */ color: rgb(94, 81, 17);
/* oklch */ color: oklch(43.6% 0.082 97.1);
Tailwind
colors: {
  custom: {
    50: '#8f8155',
    500: '#5e5111',
    950: '#000000',
  },
}
SCSS
$custom: #5e5111;
$custom-light: #8f8155;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5111",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 49.87,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.08152,
    "h": 97.1
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#5E5111
secondary
#344597
accent
#59EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5111

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

Preview Lab → · Contrast checker → · Palette generator →

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