#509D1A#509D1A

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

Color values

HEX#509D1A
RGBrgb(80, 157, 26)
HSLhsl(95, 72%, 36%)
HSVhsv(95, 83%, 62%)
CMYKcmyk(49%, 0%, 83.4%, 38.4%)
CIE-LABlab(57.94, -45.21, 55.12)
CIE-LCHlch(57.94, 71.29, 129.36°)
OKLaboklab(62.24% -0.1262 0.1213)
OKLCHoklch(62.24% 0.175 136.1)
XYZxyz(15.5513, 25.8929, 5.1555)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D1A #671A9D
analogous
#919D1A #509D1A #1A9D25
triadic
#509D1A #1A509D #9D1A50
tetradic
#509D1A #1A919D #671A9D #9D251A
square
#509D1A #1A919D #671A9D #9D251A
split-complementary
#509D1A #251A9D #9D1A91
monochromatic
#1A3409 #356811 #509D1A #6BD223 #8CE24F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #509d1a;
/* rgb */ color: rgb(80, 157, 26);
/* oklch */ color: oklch(62.2% 0.175 136.1);
Tailwind
colors: {
  custom: {
    50: '#89ba64',
    500: '#509d1a',
    950: '#000000',
  },
}
SCSS
$custom: #509d1a;
$custom-light: #89ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#509d1a",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 95.267,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.17498,
    "h": 136.1
  },
  "luminance": 0.25894
}

Semantic roles & 50–950 ramp

primary
#509D1A
secondary
#944EC4
accent
#39EEA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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