#5E8020#5E8020

#5E8020 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.128 H 127.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5E8020
RGBrgb(94, 128, 32)
HSLhsl(81, 60%, 31%)
HSVhsv(81, 75%, 50%)
CMYKcmyk(26.6%, 0%, 75%, 49.8%)
CIE-LABlab(49.40, -26.98, 45.39)
CIE-LCHlch(49.40, 52.81, 120.73°)
OKLaboklab(55.47% -0.0774 0.1015)
OKLCHoklch(55.47% 0.128 127.3)
XYZxyz(12.5960, 17.9221, 4.1619)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8020 #422080
analogous
#807220 #5E8020 #2E8020
triadic
#5E8020 #205E80 #80205E
tetradic
#5E8020 #208072 #422080 #80202E
square
#5E8020 #208072 #422080 #80202E
split-complementary
#5E8020 #202E80 #722080
monochromatic
#161E08 #3A4F14 #5E8020 #82B12C #A1D149

Accessibility & contrast

On white

4.58
#5E8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E8020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8020
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8020#FFFFFF#000000##000000
##5E80201.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#627A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e8020;
/* rgb */ color: rgb(94, 128, 32);
/* oklch */ color: oklch(55.5% 0.128 127.3);
Tailwind
colors: {
  custom: {
    50: '#8fa563',
    500: '#5e8020',
    950: '#000000',
  },
}
SCSS
$custom: #5e8020;
$custom-light: #8fa563;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8020",
  "rgb": {
    "r": 94,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 81.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.12765,
    "h": 127.3
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#5E8020
secondary
#6E49B3
accent
#45E37D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E8020

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

Preview Lab → · Contrast checker → · Palette generator →

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