#509E20#509E20

#509E20 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.5% C 0.173 H 136.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#509E20
RGBrgb(80, 158, 32)
HSLhsl(97, 66%, 37%)
HSVhsv(97, 80%, 62%)
CMYKcmyk(49.4%, 0%, 79.7%, 38%)
CIE-LABlab(58.29, -45.30, 53.69)
CIE-LCHlch(58.29, 70.25, 130.16°)
OKLaboklab(62.54% -0.126 0.1191)
OKLCHoklch(62.54% 0.173 136.6)
XYZxyz(15.7954, 26.2624, 5.6030)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509E20 #6E209E
analogous
#8F9E20 #509E20 #209E2F
triadic
#509E20 #20509E #9E2050
tetradic
#509E20 #208F9E #6E209E #9E2F20
square
#509E20 #208F9E #6E209E #9E2F20
split-complementary
#509E20 #2F209E #9E208F
monochromatic
#1C380B #366B16 #509E20 #6AD12A #8DDE5B

Accessibility & contrast

On white

3.36
#509E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#509E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509E20
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509E20#FFFFFF#000000##000000
##509E201.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#4C9887
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509e20;
/* rgb */ color: rgb(80, 158, 32);
/* oklch */ color: oklch(62.5% 0.173 136.6);
Tailwind
colors: {
  custom: {
    50: '#89bb66',
    500: '#509e20',
    950: '#000000',
  },
}
SCSS
$custom: #509e20;
$custom-light: #89bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#509e20",
  "rgb": {
    "r": 80,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 97.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62535,
    "c": 0.17344,
    "h": 136.6
  },
  "luminance": 0.26263
}

Semantic roles & 50–950 ramp

primary
#509E20
secondary
#9A58C2
accent
#3FE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509E20

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

Preview Lab → · Contrast checker → · Palette generator →

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