#509C2B#509C2B

#509C2B is a light, vivid green. Relative luminance 0.257; OKLCH L 62.1% C 0.165 H 137.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#509C2B
RGBrgb(80, 156, 43)
HSLhsl(100, 57%, 39%)
HSVhsv(100, 72%, 61%)
CMYKcmyk(48.7%, 0%, 72.4%, 38.8%)
CIE-LABlab(57.71, -43.76, 49.27)
CIE-LCHlch(57.71, 65.90, 131.61°)
OKLaboklab(62.08% -0.1212 0.1115)
OKLCHoklch(62.08% 0.165 137.4)
XYZxyz(15.6323, 25.6558, 6.4134)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C2B #772B9C
analogous
#899C2B #509C2B #2B9C3F
triadic
#509C2B #2B509C #9C2B50
tetradic
#509C2B #2B899C #772B9C #9C3F2B
square
#509C2B #2B899C #772B9C #9C3F2B
split-complementary
#509C2B #3F2B9C #9C2B89
monochromatic
#1F3C11 #376C1E #509C2B #6AC93B #8ED66B

Accessibility & contrast

On white

3.42
#509C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#509C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509C2B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509C2B#FFFFFF#000000##000000
##509C2B1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F18
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#4B9686
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509c2b;
/* rgb */ color: rgb(80, 156, 43);
/* oklch */ color: oklch(62.1% 0.165 137.4);
Tailwind
colors: {
  custom: {
    50: '#88ba6b',
    500: '#509c2b',
    950: '#000000',
  },
}
SCSS
$custom: #509c2b;
$custom-light: #88ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#509c2b",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 100.354,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.16469,
    "h": 137.4
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#509C2B
secondary
#A066BD
accent
#48E0AE
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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