#509F2A#509F2A

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

Color values

HEX#509F2A
RGBrgb(80, 159, 42)
HSLhsl(101, 58%, 39%)
HSVhsv(101, 74%, 62%)
CMYKcmyk(49.7%, 0%, 73.6%, 37.6%)
CIE-LABlab(58.67, -45.05, 50.62)
CIE-LCHlch(58.67, 67.76, 131.67°)
OKLaboklab(62.87% -0.1247 0.1142)
OKLCHoklch(62.87% 0.169 137.5)
XYZxyz(16.1238, 26.6678, 6.4878)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F2A #792A9F
analogous
#8B9F2A #509F2A #2A9F3F
triadic
#509F2A #2A509F #9F2A50
tetradic
#509F2A #2A8B9F #792A9F #9F3F2A
square
#509F2A #2A8B9F #792A9F #9F3F2A
split-complementary
#509F2A #3F2A9F #9F2A8B
monochromatic
#1F3E10 #386F1D #509F2A #6ACB3B #8FD86B

Accessibility & contrast

On white

3.32
#509F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#509F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F2A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F2A#FFFFFF#000000##000000
##509F2A1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f2a;
/* rgb */ color: rgb(80, 159, 42);
/* oklch */ color: oklch(62.9% 0.169 137.5);
Tailwind
colors: {
  custom: {
    50: '#89bc6b',
    500: '#509f2a',
    950: '#000000',
  },
}
SCSS
$custom: #509f2a;
$custom-light: #89bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#509f2a",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 100.513,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62866,
    "c": 0.16911,
    "h": 137.5
  },
  "luminance": 0.26669
}

Semantic roles & 50–950 ramp

primary
#509F2A
secondary
#A266BF
accent
#46E1AF
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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