#509F31#509F31

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

Color values

HEX#509F31
RGBrgb(80, 159, 49)
HSLhsl(103, 53%, 41%)
HSVhsv(103, 69%, 62%)
CMYKcmyk(49.7%, 0%, 69.2%, 37.6%)
CIE-LABlab(58.72, -44.49, 47.92)
CIE-LCHlch(58.72, 65.39, 132.87°)
OKLaboklab(62.92% -0.1227 0.1095)
OKLCHoklch(62.92% 0.164 138.3)
XYZxyz(16.2602, 26.7223, 7.2062)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F31 #80319F
analogous
#879F31 #509F31 #319F49
triadic
#509F31 #31509F #9F3150
tetradic
#509F31 #31879F #80319F #9F4931
square
#509F31 #31879F #80319F #9F4931
split-complementary
#509F31 #49319F #9F3187
monochromatic
#214114 #387023 #509F31 #6BC647 #90D576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509F31#FFFFFF#000000##000000
##509F311.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)
#A49121
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#4A9A89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f31;
/* rgb */ color: rgb(80, 159, 49);
/* oklch */ color: oklch(62.9% 0.164 138.3);
Tailwind
colors: {
  custom: {
    50: '#88bc6f',
    500: '#509f31',
    950: '#000000',
  },
}
SCSS
$custom: #509f31;
$custom-light: #88bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#509f31",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 103.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62924,
    "c": 0.16449,
    "h": 138.3
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#509F31
secondary
#A76FBD
accent
#4CDCB3
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #509F31

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

Preview Lab → · Contrast checker → · Palette generator →

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