#509D20#509D20

#509D20 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.3% C 0.172 H 136.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#509D20
RGBrgb(80, 157, 32)
HSLhsl(97, 66%, 37%)
HSVhsv(97, 80%, 62%)
CMYKcmyk(49%, 0%, 79.6%, 38.4%)
CIE-LABlab(57.96, -44.90, 53.38)
CIE-LCHlch(57.96, 69.76, 130.07°)
OKLaboklab(62.27% -0.125 0.1185)
OKLCHoklch(62.27% 0.172 136.5)
XYZxyz(15.6255, 25.9226, 5.5464)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D20 #6D209D
analogous
#8F9D20 #509D20 #209D2E
triadic
#509D20 #20509D #9D2050
tetradic
#509D20 #208F9D #6D209D #9D2E20
square
#509D20 #208F9D #6D209D #9D2E20
split-complementary
#509D20 #2E209D #9D208F
monochromatic
#1C370B #366A16 #509D20 #6AD02A #8CDD5A

Accessibility & contrast

On white

3.40
#509D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#509D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D20
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D20#FFFFFF#000000##000000
##509D201.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d20;
/* rgb */ color: rgb(80, 157, 32);
/* oklch */ color: oklch(62.3% 0.172 136.5);
Tailwind
colors: {
  custom: {
    50: '#89ba66',
    500: '#509d20',
    950: '#000000',
  },
}
SCSS
$custom: #509d20;
$custom-light: #89ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#509d20",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 96.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.17223,
    "h": 136.5
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#509D20
secondary
#9957C1
accent
#3FE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D20

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

Preview Lab → · Contrast checker → · Palette generator →

#509D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva