#509A24#509A24

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

Color values

HEX#509A24
RGBrgb(80, 154, 36)
HSLhsl(98, 62%, 37%)
HSVhsv(98, 77%, 60%)
CMYKcmyk(48.1%, 0%, 76.6%, 39.6%)
CIE-LABlab(57.02, -43.45, 51.15)
CIE-LCHlch(57.02, 67.12, 130.35°)
OKLaboklab(61.5% -0.1208 0.1144)
OKLCHoklch(61.5% 0.166 136.6)
XYZxyz(15.1819, 24.9430, 5.6832)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A24 #6E249A
analogous
#8B9A24 #509A24 #249A33
triadic
#509A24 #24509A #9A2450
tetradic
#509A24 #248B9A #6E249A #9A3324
square
#509A24 #248B9A #6E249A #9A3324
split-complementary
#509A24 #33249A #9A248B
monochromatic
#1C370D #366818 #509A24 #6ACC30 #8DDA5F

Accessibility & contrast

On white

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

On black

5.99
#509A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A24
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A24#FFFFFF#000000##000000
##509A241.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D09
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#4C9484
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a24;
/* rgb */ color: rgb(80, 154, 36);
/* oklch */ color: oklch(61.5% 0.166 136.6);
Tailwind
colors: {
  custom: {
    50: '#88b868',
    500: '#509a24',
    950: '#000000',
  },
}
SCSS
$custom: #509a24;
$custom-light: #88b868;
$custom-dark: #000000;
JSON
{
  "hex": "#509a24",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 97.627,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.16642,
    "h": 136.6
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#509A24
secondary
#9A5BBF
accent
#43E5A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509A24

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

Preview Lab → · Contrast checker → · Palette generator →

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