#509A20#509A20

#509A20 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.5% C 0.169 H 136.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#509A20
RGBrgb(80, 154, 32)
HSLhsl(96, 66%, 36%)
HSVhsv(96, 79%, 60%)
CMYKcmyk(48.1%, 0%, 79.2%, 39.6%)
CIE-LABlab(57.00, -43.70, 52.47)
CIE-LCHlch(57.00, 68.28, 129.79°)
OKLaboklab(61.48% -0.1217 0.1166)
OKLCHoklch(61.48% 0.169 136.2)
XYZxyz(15.1242, 24.9200, 5.3793)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A20 #6A209A
analogous
#8D9A20 #509A20 #209A2D
triadic
#509A20 #20509A #9A2050
tetradic
#509A20 #208D9A #6A209A #9A2D20
square
#509A20 #208D9A #6A209A #9A2D20
split-complementary
#509A20 #2D209A #9A208D
monochromatic
#1B350B #366715 #509A20 #6ACD2B #8CDC58

Accessibility & contrast

On white

3.51
#509A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#509A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A20
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A20#FFFFFF#000000##000000
##509A201.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)
#A08D00
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#4D9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a20;
/* rgb */ color: rgb(80, 154, 32);
/* oklch */ color: oklch(61.5% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#88b866',
    500: '#509a20',
    950: '#000000',
  },
}
SCSS
$custom: #509a20;
$custom-light: #88b866;
$custom-dark: #000000;
JSON
{
  "hex": "#509a20",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 96.393,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.16856,
    "h": 136.2
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#509A20
secondary
#9656C0
accent
#3FE9A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #509A20

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

Preview Lab → · Contrast checker → · Palette generator →

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