#5D9820#5D9820

#5D9820 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.159 H 132.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D9820
RGBrgb(93, 152, 32)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 79%, 60%)
CMYKcmyk(38.8%, 0%, 78.9%, 40.4%)
CIE-LABlab(56.97, -38.41, 52.66)
CIE-LCHlch(56.97, 65.18, 126.11°)
OKLaboklab(61.61% -0.1084 0.1167)
OKLCHoklch(61.61% 0.159 132.9)
XYZxyz(16.0029, 24.8872, 5.3267)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9820 #5B2098
analogous
#989720 #5D9820 #219820
triadic
#5D9820 #205D98 #98205D
tetradic
#5D9820 #209897 #5B2098 #982021
square
#5D9820 #209897 #5B2098 #982021
split-complementary
#5D9820 #202198 #972098
monochromatic
#1F330B #3E6515 #5D9820 #7CCB2B #9ADC57

Accessibility & contrast

On white

3.51
#5D9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5D9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9820
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9820#FFFFFF#000000##000000
##5D98201.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d9820;
/* rgb */ color: rgb(93, 152, 32);
/* oklch */ color: oklch(61.6% 0.159 132.9);
Tailwind
colors: {
  custom: {
    50: '#90b766',
    500: '#5d9820',
    950: '#000000',
  },
}
SCSS
$custom: #5d9820;
$custom-light: #90b766;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9820",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 89.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.15928,
    "h": 132.9
  },
  "luminance": 0.24888
}

Semantic roles & 50–950 ramp

primary
#5D9820
secondary
#8954BF
accent
#40E892
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9820

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

Preview Lab → · Contrast checker → · Palette generator →

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