#509B31#509B31

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

Color values

HEX#509B31
RGBrgb(80, 155, 49)
HSLhsl(102, 52%, 40%)
HSVhsv(102, 68%, 61%)
CMYKcmyk(48.4%, 0%, 68.4%, 39.2%)
CIE-LABlab(57.43, -42.86, 46.56)
CIE-LCHlch(57.43, 63.29, 132.63°)
OKLaboklab(61.87% -0.1183 0.1067)
OKLCHoklch(61.87% 0.159 138)
XYZxyz(15.5835, 25.3689, 6.9807)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509B31 #7C319B
analogous
#859B31 #509B31 #319B47
triadic
#509B31 #31509B #9B3150
tetradic
#509B31 #31859B #7C319B #9B4731
square
#509B31 #31859B #7C319B #9B4731
split-complementary
#509B31 #47319B #9B3185
monochromatic
#203E14 #386D22 #509B31 #6AC445 #8FD373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509B31#FFFFFF#000000##000000
##509B311.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)
#A08E22
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#4B9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #509b31;
/* rgb */ color: rgb(80, 155, 49);
/* oklch */ color: oklch(61.9% 0.159 138.0);
Tailwind
colors: {
  custom: {
    50: '#88b96f',
    500: '#509b31',
    950: '#000000',
  },
}
SCSS
$custom: #509b31;
$custom-light: #88b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#509b31",
  "rgb": {
    "r": 80,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 102.453,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.1593,
    "h": 138
  },
  "luminance": 0.2537
}

Semantic roles & 50–950 ramp

primary
#509B31
secondary
#A46DBB
accent
#4CDBB2
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1108
muted
#7D807B

Preview Lab

Preview with #509B31

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

Preview Lab → · Contrast checker → · Palette generator →

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