#5D8D20#5D8D20

#5D8D20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.145 H 130.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D8D20
RGBrgb(93, 141, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 77%, 55%)
CMYKcmyk(34%, 0%, 77.3%, 44.7%)
CIE-LABlab(53.47, -33.52, 49.33)
CIE-LCHlch(53.47, 59.64, 124.20°)
OKLaboklab(58.76% -0.0951 0.1098)
OKLCHoklch(58.76% 0.145 130.9)
XYZxyz(14.2997, 21.4807, 4.7590)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D20 #50208D
analogous
#8D8720 #5D8D20 #278D20
triadic
#5D8D20 #205D8D #8D205D
tetradic
#5D8D20 #208D87 #50208D #8D2027
square
#5D8D20 #208D87 #50208D #8D2027
split-complementary
#5D8D20 #20278D #87208D
monochromatic
#1B2909 #3C5B15 #5D8D20 #7EBF2B #9CD750

Accessibility & contrast

On white

3.97
#5D8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5D8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D20
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D20#FFFFFF#000000##000000
##5D8D201.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d20;
/* rgb */ color: rgb(93, 141, 32);
/* oklch */ color: oklch(58.8% 0.145 130.9);
Tailwind
colors: {
  custom: {
    50: '#8fae64',
    500: '#5d8d20',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d20;
$custom-light: #8fae64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d20",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 86.422,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.14526,
    "h": 130.9
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#5D8D20
secondary
#7E4EBA
accent
#42E68A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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