#509F2E#509F2E

#509F2E is a light, vivid green. Relative luminance 0.267; OKLCH L 62.9% C 0.167 H 137.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#509F2E
RGBrgb(80, 159, 46)
HSLhsl(102, 55%, 40%)
HSVhsv(102, 71%, 62%)
CMYKcmyk(49.7%, 0%, 71.1%, 37.6%)
CIE-LABlab(58.69, -44.74, 49.11)
CIE-LCHlch(58.69, 66.43, 132.33°)
OKLaboklab(62.9% -0.1236 0.1116)
OKLCHoklch(62.9% 0.167 137.9)
XYZxyz(16.1990, 26.6979, 6.8838)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F2E #7D2E9F
analogous
#889F2E #509F2E #2E9F45
triadic
#509F2E #2E509F #9F2E50
tetradic
#509F2E #2E889F #7D2E9F #9F452E
square
#509F2E #2E889F #7D2E9F #9F452E
split-complementary
#509F2E #452E9F #9F2E88
monochromatic
#204013 #387020 #509F2E #6AC842 #90D671

Accessibility & contrast

On white

3.31
#509F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#509F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F2E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F2E#FFFFFF#000000##000000
##509F2E1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911C
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#4A9989
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f2e;
/* rgb */ color: rgb(80, 159, 46);
/* oklch */ color: oklch(62.9% 0.167 137.9);
Tailwind
colors: {
  custom: {
    50: '#88bc6d',
    500: '#509f2e',
    950: '#000000',
  },
}
SCSS
$custom: #509f2e;
$custom-light: #88bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#509f2e",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 101.947,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62898,
    "c": 0.16654,
    "h": 137.9
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#509F2E
secondary
#A56BBE
accent
#49DEB2
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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