#509F24#509F24

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

Color values

HEX#509F24
RGBrgb(80, 159, 36)
HSLhsl(99, 63%, 38%)
HSVhsv(99, 77%, 62%)
CMYKcmyk(49.7%, 0%, 77.4%, 37.6%)
CIE-LABlab(58.63, -45.46, 52.71)
CIE-LCHlch(58.63, 69.61, 130.77°)
OKLaboklab(62.82% -0.1262 0.1177)
OKLCHoklch(62.82% 0.173 137)
XYZxyz(16.0244, 26.6280, 5.9641)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F24 #73249F
analogous
#8D9F24 #509F24 #249F36
triadic
#509F24 #24509F #9F2450
tetradic
#509F24 #248D9F #73249F #9F3624
square
#509F24 #248D9F #73249F #9F3624
split-complementary
#509F24 #36249F #9F248D
monochromatic
#1E3B0D #376D19 #509F24 #69D030 #8DDB62

Accessibility & contrast

On white

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

On black

6.33
#509F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F24
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F24#FFFFFF#000000##000000
##509F241.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f24;
/* rgb */ color: rgb(80, 159, 36);
/* oklch */ color: oklch(62.8% 0.173 137.0);
Tailwind
colors: {
  custom: {
    50: '#89bc68',
    500: '#509f24',
    950: '#000000',
  },
}
SCSS
$custom: #509f24;
$custom-light: #89bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#509f24",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 98.537,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.17258,
    "h": 137
  },
  "luminance": 0.26629
}

Semantic roles & 50–950 ramp

primary
#509F24
secondary
#9D5EC1
accent
#42E6AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F24

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

Preview Lab → · Contrast checker → · Palette generator →

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