#509A42#509A42

#509A42 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.8% C 0.144 H 140.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#509A42
RGBrgb(80, 154, 66)
HSLhsl(110, 40%, 43%)
HSVhsv(110, 57%, 60%)
CMYKcmyk(48.1%, 0%, 57.1%, 39.6%)
CIE-LABlab(57.28, -40.66, 38.63)
CIE-LCHlch(57.28, 56.09, 136.47°)
OKLaboklab(61.8% -0.1112 0.0915)
OKLCHoklch(61.8% 0.144 140.6)
XYZxyz(15.8466, 25.2089, 9.1840)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A42 #8C429A
analogous
#7C9A42 #509A42 #429A60
triadic
#509A42 #42509A #9A4250
tetradic
#509A42 #427C9A #8C429A #9A6042
square
#509A42 #427C9A #8C429A #9A6042
split-complementary
#509A42 #60429A #9A427C
monochromatic
#23441D #3A6F30 #509A42 #6DBA5F #94CD8A

Accessibility & contrast

On white

3.48
#509A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#509A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A42
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A42#FFFFFF#000000##000000
##509A421.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E39
Deuteranopia (green-blind)
#948749
Tritanopia (blue-blind)
#499587
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a42;
/* rgb */ color: rgb(80, 154, 66);
/* oklch */ color: oklch(61.8% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#87b879',
    500: '#509a42',
    950: '#000000',
  },
}
SCSS
$custom: #509a42;
$custom-light: #87b879;
$custom-dark: #000000;
JSON
{
  "hex": "#509a42",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 110.455,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.14405,
    "h": 140.6
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#509A42
secondary
#AF80B8
accent
#58D0BD
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #509A42

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

Preview Lab → · Contrast checker → · Palette generator →

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