#509B2F#509B2F

#509B2F is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.9% C 0.161 H 137.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#509B2F
RGBrgb(80, 155, 47)
HSLhsl(102, 53%, 40%)
HSVhsv(102, 70%, 61%)
CMYKcmyk(48.4%, 0%, 69.7%, 39.2%)
CIE-LABlab(57.42, -43.03, 47.37)
CIE-LCHlch(57.42, 64.00, 132.25°)
OKLaboklab(61.85% -0.1189 0.1081)
OKLCHoklch(61.85% 0.161 137.7)
XYZxyz(15.5422, 25.3523, 6.7633)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B2F #7A2F9B
analogous
#869B2F #509B2F #2F9B44
triadic
#509B2F #2F509B #9B2F50
tetradic
#509B2F #2F869B #7A2F9B #9B442F
square
#509B2F #2F869B #7A2F9B #9B442F
split-complementary
#509B2F #442F9B #9B2F86
monochromatic
#203D13 #386C21 #509B2F #6AC642 #8FD471

Accessibility & contrast

On white

3.46
#509B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#509B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509B2F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509B2F#FFFFFF#000000##000000
##509B2F1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1F
Deuteranopia (green-blind)
#968839
Tritanopia (blue-blind)
#4B9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b2f;
/* rgb */ color: rgb(80, 155, 47);
/* oklch */ color: oklch(61.9% 0.161 137.7);
Tailwind
colors: {
  custom: {
    50: '#88b96e',
    500: '#509b2f',
    950: '#000000',
  },
}
SCSS
$custom: #509b2f;
$custom-light: #88b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#509b2f",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 101.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.16072,
    "h": 137.7
  },
  "luminance": 0.25353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #509B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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