#509B40#509B40

#509B40 is a light, vivid green. Relative luminance 0.255; OKLCH L 62.0% C 0.147 H 140.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#509B40
RGBrgb(80, 155, 64)
HSLhsl(109, 42%, 43%)
HSVhsv(109, 59%, 61%)
CMYKcmyk(48.4%, 0%, 58.7%, 39.2%)
CIE-LABlab(57.58, -41.32, 39.95)
CIE-LCHlch(57.58, 57.47, 135.97°)
OKLaboklab(62.03% -0.1132 0.0942)
OKLCHoklch(62.03% 0.147 140.2)
XYZxyz(15.9544, 25.5172, 8.9341)
Luminance0.2552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B40 #8B409B
analogous
#7D9B40 #509B40 #409B5E
triadic
#509B40 #40509B #9B4050
tetradic
#509B40 #407D9B #8B409B #9B5E40
square
#509B40 #407D9B #8B409B #9B5E40
split-complementary
#509B40 #5E409B #9B407D
monochromatic
#23441C #3A702E #509B40 #6DBC5C #94CE88

Accessibility & contrast

On white

3.44
#509B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#509B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B40
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B40#FFFFFF#000000##000000
##509B401.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E37
Deuteranopia (green-blind)
#958847
Tritanopia (blue-blind)
#499687
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b40;
/* rgb */ color: rgb(80, 155, 64);
/* oklch */ color: oklch(62.0% 0.147 140.2);
Tailwind
colors: {
  custom: {
    50: '#87b978',
    500: '#509b40',
    950: '#000000',
  },
}
SCSS
$custom: #509b40;
$custom-light: #87b978;
$custom-dark: #000000;
JSON
{
  "hex": "#509b40",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 109.451,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.14723,
    "h": 140.2
  },
  "luminance": 0.25518
}

Semantic roles & 50–950 ramp

primary
#509B40
secondary
#AE7EB8
accent
#56D1BC
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #509B40

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

Preview Lab → · Contrast checker → · Palette generator →

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