#509F2B#509F2B

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

Color values

HEX#509F2B
RGBrgb(80, 159, 43)
HSLhsl(101, 57%, 40%)
HSVhsv(101, 73%, 62%)
CMYKcmyk(49.7%, 0%, 73%, 37.6%)
CIE-LABlab(58.67, -44.97, 50.25)
CIE-LCHlch(58.67, 67.43, 131.83°)
OKLaboklab(62.87% -0.1245 0.1136)
OKLCHoklch(62.87% 0.168 137.6)
XYZxyz(16.1419, 26.6750, 6.5832)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F2B #7A2B9F
analogous
#8A9F2B #509F2B #2B9F40
triadic
#509F2B #2B509F #9F2B50
tetradic
#509F2B #2B8A9F #7A2B9F #9F402B
square
#509F2B #2B8A9F #7A2B9F #9F402B
split-complementary
#509F2B #402B9F #9F2B8A
monochromatic
#203F11 #386F1E #509F2B #6ACA3D #8FD76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509F2B#FFFFFF#000000##000000
##509F2B1.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)
#A49117
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#4B9988
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f2b;
/* rgb */ color: rgb(80, 159, 43);
/* oklch */ color: oklch(62.9% 0.168 137.6);
Tailwind
colors: {
  custom: {
    50: '#89bc6c',
    500: '#509f2b',
    950: '#000000',
  },
}
SCSS
$custom: #509f2b;
$custom-light: #89bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#509f2b",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 100.862,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62874,
    "c": 0.16848,
    "h": 137.6
  },
  "luminance": 0.26676
}

Semantic roles & 50–950 ramp

primary
#509F2B
secondary
#A367BE
accent
#47E1B0
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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