#5E5D11#5E5D11

#5E5D11 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.5% C 0.093 H 108.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5D11
RGBrgb(94, 93, 17)
HSLhsl(59, 69%, 22%)
HSVhsv(59, 82%, 37%)
CMYKcmyk(0%, 1.1%, 81.9%, 63.1%)
CIE-LABlab(38.29, -9.24, 40.36)
CIE-LCHlch(38.29, 41.40, 102.90°)
OKLaboklab(46.48% -0.0299 0.0881)
OKLCHoklch(46.48% 0.093 108.7)
XYZxyz(8.6320, 10.2491, 2.0538)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D11 #11125E
analogous
#5E3711 #5E5D11 #395E11
triadic
#5E5D11 #115E5D #5D115E
tetradic
#5E5D11 #115E37 #11125E #5E1139
square
#5E5D11 #115E37 #11125E #5E1139
split-complementary
#5E5D11 #11395E #37115E
monochromatic
#1A1A05 #2A2A08 #5E5D11 #92901A #C6C424

Accessibility & contrast

On white

6.89
#5E5D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D11
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D11#FFFFFF#000000##FFFFFF
##5E5D111.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#65564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d11;
/* rgb */ color: rgb(94, 93, 17);
/* oklch */ color: oklch(46.5% 0.093 108.7);
Tailwind
colors: {
  custom: {
    50: '#8f8a57',
    500: '#5e5d11',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d11;
$custom-light: #8f8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d11",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 59.221,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.09304,
    "h": 108.7
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#5E5D11
secondary
#343597
accent
#3EEC3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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