#5E8420#5E8420

#5E8420 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.133 H 128.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E8420
RGBrgb(94, 132, 32)
HSLhsl(83, 61%, 32%)
HSVhsv(83, 76%, 52%)
CMYKcmyk(28.8%, 0%, 75.8%, 48.2%)
CIE-LABlab(50.67, -28.92, 46.63)
CIE-LCHlch(50.67, 54.87, 121.80°)
OKLaboklab(56.5% -0.0827 0.1041)
OKLCHoklch(56.5% 0.133 128.5)
XYZxyz(13.1281, 18.9862, 4.3393)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8420 #462084
analogous
#847820 #5E8420 #2C8420
triadic
#5E8420 #205E84 #84205E
tetradic
#5E8420 #208478 #462084 #84202C
square
#5E8420 #208478 #462084 #84202C
split-complementary
#5E8420 #202C84 #782084
monochromatic
#182108 #3B5314 #5E8420 #81B52C #A0D34B

Accessibility & contrast

On white

4.38
#5E8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5E8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8420
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8420#FFFFFF#000000##000000
##5E84201.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0C
Deuteranopia (green-blind)
#857829
Tritanopia (blue-blind)
#617E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8420;
/* rgb */ color: rgb(94, 132, 32);
/* oklch */ color: oklch(56.5% 0.133 128.5);
Tailwind
colors: {
  custom: {
    50: '#8fa863',
    500: '#5e8420',
    950: '#000000',
  },
}
SCSS
$custom: #5e8420;
$custom-light: #8fa863;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8420",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 82.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.13295,
    "h": 128.5
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#5E8420
secondary
#734AB6
accent
#44E481
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8420

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

Preview Lab → · Contrast checker → · Palette generator →

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