#5E8320#5E8320

#5E8320 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.132 H 128.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E8320
RGBrgb(94, 131, 32)
HSLhsl(82, 61%, 32%)
HSVhsv(82, 76%, 51%)
CMYKcmyk(28.2%, 0%, 75.6%, 48.6%)
CIE-LABlab(50.35, -28.44, 46.32)
CIE-LCHlch(50.35, 54.36, 121.54°)
OKLaboklab(56.24% -0.0814 0.1035)
OKLCHoklch(56.24% 0.132 128.2)
XYZxyz(12.9931, 18.7163, 4.2943)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8320 #452083
analogous
#837720 #5E8320 #2D8320
triadic
#5E8320 #205E83 #83205E
tetradic
#5E8320 #208377 #452083 #83202D
square
#5E8320 #208377 #452083 #83202D
split-complementary
#5E8320 #202D83 #772083
monochromatic
#172108 #3B5214 #5E8320 #81B42C #A0D34A

Accessibility & contrast

On white

4.43
#5E8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8320
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8320#FFFFFF#000000##000000
##5E83201.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#617D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e8320;
/* rgb */ color: rgb(94, 131, 32);
/* oklch */ color: oklch(56.2% 0.132 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa763',
    500: '#5e8320',
    950: '#000000',
  },
}
SCSS
$custom: #5e8320;
$custom-light: #8fa763;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8320",
  "rgb": {
    "r": 94,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 82.424,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.13163,
    "h": 128.2
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#5E8320
secondary
#7249B6
accent
#44E480
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8320

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

Preview Lab → · Contrast checker → · Palette generator →

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