#509D2F#509D2F

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

Color values

HEX#509D2F
RGBrgb(80, 157, 47)
HSLhsl(102, 54%, 40%)
HSVhsv(102, 70%, 62%)
CMYKcmyk(49%, 0%, 70.1%, 38.4%)
CIE-LABlab(58.06, -43.85, 48.05)
CIE-LCHlch(58.06, 65.05, 132.38°)
OKLaboklab(62.38% -0.1211 0.1095)
OKLCHoklch(62.38% 0.163 137.9)
XYZxyz(15.8778, 26.0236, 6.8752)
Luminance0.2602 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D2F #7C2F9D
analogous
#879D2F #509D2F #2F9D45
triadic
#509D2F #2F509D #9D2F50
tetradic
#509D2F #2F879D #7C2F9D #9D452F
square
#509D2F #2F879D #7C2F9D #9D452F
split-complementary
#509D2F #452F9D #9D2F87
monochromatic
#203F13 #386E21 #509D2F #6AC743 #8FD572

Accessibility & contrast

On white

3.38
#509D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##509D2F#FFFFFF#000000##000000
##509D2F1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901F
Deuteranopia (green-blind)
#988939
Tritanopia (blue-blind)
#4B9887
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509d2f;
/* rgb */ color: rgb(80, 157, 47);
/* oklch */ color: oklch(62.4% 0.163 137.9);
Tailwind
colors: {
  custom: {
    50: '#88ba6e',
    500: '#509d2f',
    950: '#000000',
  },
}
SCSS
$custom: #509d2f;
$custom-light: #88ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#509d2f",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 102,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.62379,
    "c": 0.1633,
    "h": 137.9
  },
  "luminance": 0.26025
}

Semantic roles & 50–950 ramp

primary
#509D2F
secondary
#A46BBC
accent
#4BDDB1
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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