#509D4E#509D4E

#509D4E is a light, vivid green. Relative luminance 0.264; OKLCH L 62.8% C 0.137 H 143.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#509D4E
RGBrgb(80, 157, 78)
HSLhsl(118, 34%, 46%)
HSVhsv(118, 50%, 62%)
CMYKcmyk(49%, 0%, 50.3%, 38.4%)
CIE-LABlab(58.38, -40.36, 33.95)
CIE-LCHlch(58.38, 52.74, 139.93°)
OKLaboklab(62.75% -0.1098 0.082)
OKLCHoklch(62.75% 0.137 143.2)
XYZxyz(16.7396, 26.3683, 11.4137)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509D4E #9B4E9D
analogous
#779D4E #509D4E #4E9D73
triadic
#509D4E #4E509D #9D4E50
tetradic
#509D4E #4E779D #9B4E9D #9D734E
square
#509D4E #4E779D #9B4E9D #9D734E
split-complementary
#509D4E #734E9D #9D4E77
monochromatic
#264B25 #3B743A #509D4E #72B870 #9ACC99

Accessibility & contrast

On white

3.35
#509D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#509D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509D4E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509D4E#FFFFFF#000000##000000
##509D4E1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09147
Deuteranopia (green-blind)
#958A53
Tritanopia (blue-blind)
#46998B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #509d4e;
/* rgb */ color: rgb(80, 157, 78);
/* oklch */ color: oklch(62.8% 0.137 143.2);
Tailwind
colors: {
  custom: {
    50: '#87ba81',
    500: '#509d4e',
    950: '#000000',
  },
}
SCSS
$custom: #509d4e;
$custom-light: #87ba81;
$custom-dark: #000000;
JSON
{
  "hex": "#509d4e",
  "rgb": {
    "r": 80,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 118.481,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.1371,
    "h": 143.2
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#509D4E
secondary
#B88EB9
accent
#5ECAC7
background
#F8FBF8
surface
#F0F6EF
border
#CBD0CA
text
#0C120A
muted
#7D817C

Preview Lab

Preview with #509D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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