#509D24#509D24

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

Color values

HEX#509D24
RGBrgb(80, 157, 36)
HSLhsl(98, 63%, 38%)
HSVhsv(98, 77%, 62%)
CMYKcmyk(49%, 0%, 77.1%, 38.4%)
CIE-LABlab(57.99, -44.66, 52.09)
CIE-LCHlch(57.99, 68.62, 130.61°)
OKLaboklab(62.3% -0.1241 0.1164)
OKLCHoklch(62.3% 0.17 136.8)
XYZxyz(15.6832, 25.9457, 5.8503)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D24 #71249D
analogous
#8C9D24 #509D24 #249D35
triadic
#509D24 #24509D #9D2450
tetradic
#509D24 #248C9D #71249D #9D3524
square
#509D24 #248C9D #71249D #9D3524
split-complementary
#509D24 #35249D #9D248C
monochromatic
#1D390D #376B19 #509D24 #69CF2F #8DDB61

Accessibility & contrast

On white

3.39
#509D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#509D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D24
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D24#FFFFFF#000000##000000
##509D241.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F07
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d24;
/* rgb */ color: rgb(80, 157, 36);
/* oklch */ color: oklch(62.3% 0.170 136.8);
Tailwind
colors: {
  custom: {
    50: '#89ba68',
    500: '#509d24',
    950: '#000000',
  },
}
SCSS
$custom: #509d24;
$custom-light: #89ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#509d24",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 98.182,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62295,
    "c": 0.17013,
    "h": 136.8
  },
  "luminance": 0.25947
}

Semantic roles & 50–950 ramp

primary
#509D24
secondary
#9C5DC0
accent
#42E6AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D24

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

Preview Lab → · Contrast checker → · Palette generator →

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