#509D18#509D18

#509D18 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.2% C 0.176 H 136.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#509D18
RGBrgb(80, 157, 24)
HSLhsl(95, 73%, 35%)
HSVhsv(95, 85%, 62%)
CMYKcmyk(49%, 0%, 84.7%, 38.4%)
CIE-LABlab(57.93, -45.31, 55.64)
CIE-LCHlch(57.93, 71.75, 129.15°)
OKLaboklab(62.23% -0.1265 0.1221)
OKLCHoklch(62.23% 0.176 136)
XYZxyz(15.5297, 25.8843, 5.0418)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D18 #65189D
analogous
#929D18 #509D18 #189D22
triadic
#509D18 #18509D #9D1850
tetradic
#509D18 #18929D #65189D #9D2218
square
#509D18 #18929D #65189D #9D2218
split-complementary
#509D18 #22189D #9D1892
monochromatic
#1A3308 #356810 #509D18 #6BD220 #8CE44C

Accessibility & contrast

On white

3.40
#509D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#509D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D18
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D18#FFFFFF#000000##000000
##509D181.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#4C9785
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d18;
/* rgb */ color: rgb(80, 157, 24);
/* oklch */ color: oklch(62.2% 0.176 136.0);
Tailwind
colors: {
  custom: {
    50: '#89ba63',
    500: '#509d18',
    950: '#000000',
  },
}
SCSS
$custom: #509d18;
$custom-light: #89ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#509d18",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 94.737,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.17579,
    "h": 136
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#509D18
secondary
#924BC5
accent
#38F0A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D18

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

Preview Lab → · Contrast checker → · Palette generator →

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