#509A2F#509A2F

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

Color values

HEX#509A2F
RGBrgb(80, 154, 47)
HSLhsl(101, 53%, 39%)
HSVhsv(101, 69%, 60%)
CMYKcmyk(48.1%, 0%, 69.5%, 39.6%)
CIE-LABlab(57.10, -42.62, 47.04)
CIE-LCHlch(57.10, 63.48, 132.18°)
OKLaboklab(61.59% -0.1178 0.1074)
OKLCHoklch(61.59% 0.159 137.7)
XYZxyz(15.3765, 25.0209, 6.7080)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509A2F #792F9A
analogous
#869A2F #509A2F #2F9A43
triadic
#509A2F #2F509A #9A2F50
tetradic
#509A2F #2F869A #792F9A #9A432F
square
#509A2F #2F869A #792F9A #9A432F
split-complementary
#509A2F #432F9A #9A2F86
monochromatic
#1F3C12 #386B21 #509A2F #6AC541 #8FD370

Accessibility & contrast

On white

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

On black

6.00
#509A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509A2F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509A2F#FFFFFF#000000##000000
##509A2F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#4B9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #509a2f;
/* rgb */ color: rgb(80, 154, 47);
/* oklch */ color: oklch(61.6% 0.159 137.7);
Tailwind
colors: {
  custom: {
    50: '#88b86d',
    500: '#509a2f',
    950: '#000000',
  },
}
SCSS
$custom: #509a2f;
$custom-light: #88b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#509a2f",
  "rgb": {
    "r": 80,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 101.495,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.15942,
    "h": 137.7
  },
  "luminance": 0.25022
}

Semantic roles & 50–950 ramp

primary
#509A2F
secondary
#A26ABB
accent
#4BDDB0
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #509A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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