#509D1E#509D1E

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

Color values

HEX#509D1E
RGBrgb(80, 157, 30)
HSLhsl(96, 68%, 37%)
HSVhsv(96, 81%, 62%)
CMYKcmyk(49%, 0%, 80.9%, 38.4%)
CIE-LABlab(57.95, -45.01, 53.99)
CIE-LCHlch(57.95, 70.29, 129.82°)
OKLaboklab(62.26% -0.1254 0.1195)
OKLCHoklch(62.26% 0.173 136.4)
XYZxyz(15.5991, 25.9121, 5.4076)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D1E #6B1E9D
analogous
#909D1E #509D1E #1E9D2C
triadic
#509D1E #1E509D #9D1E50
tetradic
#509D1E #1E909D #6B1E9D #9D2C1E
square
#509D1E #1E909D #6B1E9D #9D2C1E
split-complementary
#509D1E #2C1E9D #9D1E90
monochromatic
#1C360A #366A14 #509D1E #6AD028 #8CDF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509D1E#FFFFFF#000000##000000
##509D1E1.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)
#99892D
Tritanopia (blue-blind)
#4C9786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d1e;
/* rgb */ color: rgb(80, 157, 30);
/* oklch */ color: oklch(62.3% 0.173 136.4);
Tailwind
colors: {
  custom: {
    50: '#89ba65',
    500: '#509d1e',
    950: '#000000',
  },
}
SCSS
$custom: #509d1e;
$custom-light: #89ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#509d1e",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 96.378,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62258,
    "c": 0.1732,
    "h": 136.4
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#509D1E
secondary
#9754C2
accent
#3DEBA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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