#5D8E20#5D8E20

#5D8E20 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.147 H 131.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D8E20
RGBrgb(93, 142, 32)
HSLhsl(87, 63%, 34%)
HSVhsv(87, 77%, 56%)
CMYKcmyk(34.5%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.79, -33.97, 49.63)
CIE-LCHlch(53.79, 60.15, 124.39°)
OKLaboklab(59.02% -0.0964 0.1104)
OKLCHoklch(59.02% 0.147 131.1)
XYZxyz(14.4478, 21.7769, 4.8084)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E20 #51208E
analogous
#8E8820 #5D8E20 #268E20
triadic
#5D8E20 #205D8E #8E205D
tetradic
#5D8E20 #208E88 #51208E #8E2026
square
#5D8E20 #208E88 #51208E #8E2026
split-complementary
#5D8E20 #20268E #88208E
monochromatic
#1C2A09 #3C5C15 #5D8E20 #7EC02B #9CD851

Accessibility & contrast

On white

3.92
#5D8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5D8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E20
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E20#FFFFFF#000000##000000
##5D8E201.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8e20;
/* rgb */ color: rgb(93, 142, 32);
/* oklch */ color: oklch(59.0% 0.147 131.1);
Tailwind
colors: {
  custom: {
    50: '#8faf64',
    500: '#5d8e20',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e20;
$custom-light: #8faf64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e20",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 86.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.14655,
    "h": 131.1
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#5D8E20
secondary
#7F4FBB
accent
#42E68B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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