#5E5311#5E5311

#5E5311 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.083 H 99.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E5311
RGBrgb(94, 83, 17)
HSLhsl(51, 69%, 22%)
HSVhsv(51, 82%, 37%)
CMYKcmyk(0%, 11.7%, 81.9%, 63.1%)
CIE-LABlab(35.22, -3.38, 37.54)
CIE-LCHlch(35.22, 37.70, 95.14°)
OKLaboklab(44.04% -0.0134 0.0821)
OKLCHoklch(44.04% 0.083 99.3)
XYZxyz(7.8109, 8.6071, 1.7801)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5311 #111C5E
analogous
#5E2D11 #5E5311 #435E11
triadic
#5E5311 #115E53 #53115E
tetradic
#5E5311 #115E2D #111C5E #5E1143
square
#5E5311 #115E2D #111C5E #5E1143
split-complementary
#5E5311 #11435E #2D115E
monochromatic
#1A1705 #2A2508 #5E5311 #92811A #C6AF24

Accessibility & contrast

On white

7.72
#5E5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5311
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5311#FFFFFF#000000##FFFFFF
##5E53111.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5104
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#664C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5311;
/* rgb */ color: rgb(94, 83, 17);
/* oklch */ color: oklch(44.0% 0.083 99.3);
Tailwind
colors: {
  custom: {
    50: '#8f8355',
    500: '#5e5311',
    950: '#000000',
  },
}
SCSS
$custom: #5e5311;
$custom-light: #8f8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5311",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 51.429,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44038,
    "c": 0.08319,
    "h": 99.3
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#5E5311
secondary
#344297
accent
#55EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5311

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

Preview Lab → · Contrast checker → · Palette generator →

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