#509D2E#509D2E

#509D2E is a light, vivid green. Relative luminance 0.260; OKLCH L 62.4% C 0.164 H 137.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#509D2E
RGBrgb(80, 157, 46)
HSLhsl(102, 55%, 40%)
HSVhsv(102, 71%, 62%)
CMYKcmyk(49%, 0%, 70.7%, 38.4%)
CIE-LABlab(58.05, -43.93, 48.44)
CIE-LCHlch(58.05, 65.40, 132.20°)
OKLaboklab(62.37% -0.1214 0.1102)
OKLCHoklch(62.37% 0.164 137.8)
XYZxyz(15.8579, 26.0156, 6.7701)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D2E #7B2E9D
analogous
#879D2E #509D2E #2E9D44
triadic
#509D2E #2E509D #9D2E50
tetradic
#509D2E #2E879D #7B2E9D #9D442E
square
#509D2E #2E879D #7B2E9D #9D442E
split-complementary
#509D2E #442E9D #9D2E87
monochromatic
#203E12 #386E20 #509D2E #6AC741 #8FD570

Accessibility & contrast

On white

3.39
#509D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#509D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D2E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D2E#FFFFFF#000000##000000
##509D2E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901D
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#4B9787
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509d2e;
/* rgb */ color: rgb(80, 157, 46);
/* oklch */ color: oklch(62.4% 0.164 137.8);
Tailwind
colors: {
  custom: {
    50: '#88ba6d',
    500: '#509d2e',
    950: '#000000',
  },
}
SCSS
$custom: #509d2e;
$custom-light: #88ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#509d2e",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 101.622,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.16399,
    "h": 137.8
  },
  "luminance": 0.26017
}

Semantic roles & 50–950 ramp

primary
#509D2E
secondary
#A36ABD
accent
#4ADEB1
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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