#5D8420#5D8420

#5D8420 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.133 H 128.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D8420
RGBrgb(93, 132, 32)
HSLhsl(83, 61%, 32%)
HSVhsv(83, 76%, 52%)
CMYKcmyk(29.5%, 0%, 75.8%, 48.2%)
CIE-LABlab(50.61, -29.32, 46.55)
CIE-LCHlch(50.61, 55.02, 122.20°)
OKLaboklab(56.43% -0.0837 0.104)
OKLCHoklch(56.43% 0.133 128.9)
XYZxyz(13.0262, 18.9336, 4.3345)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8420 #472084
analogous
#847920 #5D8420 #2B8420
triadic
#5D8420 #205D84 #84205D
tetradic
#5D8420 #208479 #472084 #84202B
square
#5D8420 #208479 #472084 #84202B
split-complementary
#5D8420 #202B84 #792084
monochromatic
#182108 #3A5314 #5D8420 #80B52C #9ED34B

Accessibility & contrast

On white

4.39
#5D8420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5D8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8420
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8420#FFFFFF#000000##000000
##5D84201.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8420;
/* rgb */ color: rgb(93, 132, 32);
/* oklch */ color: oklch(56.4% 0.133 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea863',
    500: '#5d8420',
    950: '#000000',
  },
}
SCSS
$custom: #5d8420;
$custom-light: #8ea863;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8420",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 83.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.13348,
    "h": 128.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#5D8420
secondary
#744AB6
accent
#44E482
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8420

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

Preview Lab → · Contrast checker → · Palette generator →

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