#5D8020#5D8020

#5D8020 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.4% C 0.128 H 127.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D8020
RGBrgb(93, 128, 32)
HSLhsl(82, 60%, 31%)
HSVhsv(82, 75%, 50%)
CMYKcmyk(27.3%, 0%, 75%, 49.8%)
CIE-LABlab(49.34, -27.40, 45.31)
CIE-LCHlch(49.34, 52.95, 121.16°)
OKLaboklab(55.4% -0.0785 0.1013)
OKLCHoklch(55.4% 0.128 127.8)
XYZxyz(12.4941, 17.8695, 4.1571)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8020 #432080
analogous
#807320 #5D8020 #2D8020
triadic
#5D8020 #205D80 #80205D
tetradic
#5D8020 #208073 #432080 #80202D
square
#5D8020 #208073 #432080 #80202D
split-complementary
#5D8020 #202D80 #732080
monochromatic
#161E08 #394F14 #5D8020 #81B12C #A0D149

Accessibility & contrast

On white

4.59
#5D8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5D8020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D8020
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8020#FFFFFF#000000##FFFFFF
##5D80201.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8020;
/* rgb */ color: rgb(93, 128, 32);
/* oklch */ color: oklch(55.4% 0.128 127.8);
Tailwind
colors: {
  custom: {
    50: '#8ea563',
    500: '#5d8020',
    950: '#000000',
  },
}
SCSS
$custom: #5d8020;
$custom-light: #8ea563;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8020",
  "rgb": {
    "r": 93,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 81.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.12817,
    "h": 127.8
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#5D8020
secondary
#7049B3
accent
#45E37E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D8020

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

Preview Lab → · Contrast checker → · Palette generator →

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