#509F20#509F20

#509F20 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.8% C 0.175 H 136.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#509F20
RGBrgb(80, 159, 32)
HSLhsl(97, 66%, 37%)
HSVhsv(97, 80%, 62%)
CMYKcmyk(49.7%, 0%, 79.9%, 37.6%)
CIE-LABlab(58.61, -45.70, 53.99)
CIE-LCHlch(58.61, 70.73, 130.24°)
OKLaboklab(62.8% -0.1271 0.1198)
OKLCHoklch(62.8% 0.175 136.7)
XYZxyz(15.9666, 26.6049, 5.6601)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F20 #6F209F
analogous
#8F9F20 #509F20 #209F30
triadic
#509F20 #20509F #9F2050
tetradic
#509F20 #208F9F #6F209F #9F3020
square
#509F20 #208F9F #6F209F #9F3020
split-complementary
#509F20 #30209F #9F208F
monochromatic
#1D390B #366C16 #509F20 #6AD22A #8DDE5B

Accessibility & contrast

On white

3.32
#509F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#509F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F20
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F20#FFFFFF#000000##000000
##509F201.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8B2F
Tritanopia (blue-blind)
#4C9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f20;
/* rgb */ color: rgb(80, 159, 32);
/* oklch */ color: oklch(62.8% 0.175 136.7);
Tailwind
colors: {
  custom: {
    50: '#89bc67',
    500: '#509f20',
    950: '#000000',
  },
}
SCSS
$custom: #509f20;
$custom-light: #89bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#509f20",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 97.323,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62799,
    "c": 0.17465,
    "h": 136.7
  },
  "luminance": 0.26606
}

Semantic roles & 50–950 ramp

primary
#509F20
secondary
#9A59C2
accent
#3EE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509F20

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

Preview Lab → · Contrast checker → · Palette generator →

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