#5E7311#5E7311

#5E7311 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.119 H 121.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7311
RGBrgb(94, 115, 17)
HSLhsl(73, 74%, 26%)
HSVhsv(73, 85%, 45%)
CMYKcmyk(18.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.20, -21.24, 46.53)
CIE-LCHlch(45.20, 51.15, 114.53°)
OKLaboklab(52.03% -0.0629 0.1013)
OKLCHoklch(52.03% 0.119 121.9)
XYZxyz(10.8482, 14.6816, 2.7925)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7311 #261173
analogous
#735711 #5E7311 #2D7311
triadic
#5E7311 #115E73 #73115E
tetradic
#5E7311 #117357 #261173 #73112D
square
#5E7311 #117357 #261173 #73112D
split-complementary
#5E7311 #112D73 #571173
monochromatic
#161B04 #323E09 #5E7311 #8AA819 #B5DE21

Accessibility & contrast

On white

5.33
#5E7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7311
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7311#FFFFFF#000000##FFFFFF
##5E73111.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#646D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7311;
/* rgb */ color: rgb(94, 115, 17);
/* oklch */ color: oklch(52.0% 0.119 121.9);
Tailwind
colors: {
  custom: {
    50: '#8f9b5a',
    500: '#5e7311',
    950: '#000000',
  },
}
SCSS
$custom: #5e7311;
$custom-light: #8f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7311",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 72.857,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.11924,
    "h": 121.9
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#5E7311
secondary
#4F36AA
accent
#37F15F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7311

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

Preview Lab → · Contrast checker → · Palette generator →

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