#509D1B#509D1B

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

Color values

HEX#509D1B
RGBrgb(80, 157, 27)
HSLhsl(96, 71%, 36%)
HSVhsv(96, 83%, 62%)
CMYKcmyk(49%, 0%, 82.8%, 38.4%)
CIE-LABlab(57.94, -45.17, 54.85)
CIE-LCHlch(57.94, 71.05, 129.47°)
OKLaboklab(62.24% -0.126 0.1208)
OKLCHoklch(62.24% 0.175 136.2)
XYZxyz(15.5626, 25.8975, 5.2154)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D1B #681B9D
analogous
#919D1B #509D1B #1B9D27
triadic
#509D1B #1B509D #9D1B50
tetradic
#509D1B #1B919D #681B9D #9D271B
square
#509D1B #1B919D #681B9D #9D271B
split-complementary
#509D1B #271B9D #9D1B91
monochromatic
#1B3509 #356912 #509D1B #6BD124 #8CE151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #509d1b;
/* rgb */ color: rgb(80, 157, 27);
/* oklch */ color: oklch(62.2% 0.175 136.2);
Tailwind
colors: {
  custom: {
    50: '#89ba64',
    500: '#509d1b',
    950: '#000000',
  },
}
SCSS
$custom: #509d1b;
$custom-light: #89ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#509d1b",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 95.538,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62243,
    "c": 0.17455,
    "h": 136.2
  },
  "luminance": 0.25899
}

Semantic roles & 50–950 ramp

primary
#509D1B
secondary
#9550C4
accent
#3AEDA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #509D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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