#509A31#509A31

#509A31 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.6% C 0.158 H 137.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#509A31
RGBrgb(80, 154, 49)
HSLhsl(102, 52%, 40%)
HSVhsv(102, 68%, 60%)
CMYKcmyk(48.1%, 0%, 68.2%, 39.6%)
CIE-LABlab(57.11, -42.45, 46.22)
CIE-LCHlch(57.11, 62.76, 132.57°)
OKLaboklab(61.61% -0.1172 0.1059)
OKLCHoklch(61.61% 0.158 137.9)
XYZxyz(15.4177, 25.0374, 6.9254)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A31 #7B319A
analogous
#849A31 #509A31 #319A47
triadic
#509A31 #31509A #9A3150
tetradic
#509A31 #31849A #7B319A #9A4731
square
#509A31 #31849A #7B319A #9A4731
split-complementary
#509A31 #47319A #9A3184
monochromatic
#203D13 #386C22 #509A31 #6AC445 #8FD273

Accessibility & contrast

On white

3.50
#509A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#509A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A31
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A31#FFFFFF#000000##000000
##509A311.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#4B9585
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a31;
/* rgb */ color: rgb(80, 154, 49);
/* oklch */ color: oklch(61.6% 0.158 137.9);
Tailwind
colors: {
  custom: {
    50: '#88b86f',
    500: '#509a31',
    950: '#000000',
  },
}
SCSS
$custom: #509a31;
$custom-light: #88b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#509a31",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 102.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.15799,
    "h": 137.9
  },
  "luminance": 0.25038
}

Semantic roles & 50–950 ramp

primary
#509A31
secondary
#A36CBA
accent
#4DDBB1
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #509A31

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

Preview Lab → · Contrast checker → · Palette generator →

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