#509C2D#509C2D

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

Color values

HEX#509C2D
RGBrgb(80, 156, 45)
HSLhsl(101, 55%, 39%)
HSVhsv(101, 71%, 61%)
CMYKcmyk(48.7%, 0%, 71.2%, 38.8%)
CIE-LABlab(57.72, -43.61, 48.50)
CIE-LCHlch(57.72, 65.22, 131.96°)
OKLaboklab(62.1% -0.1206 0.1102)
OKLCHoklch(62.1% 0.163 137.6)
XYZxyz(15.6699, 25.6708, 6.6114)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509C2D #792D9C
analogous
#889C2D #509C2D #2D9C42
triadic
#509C2D #2D509C #9C2D50
tetradic
#509C2D #2D889C #792D9C #9C422D
square
#509C2D #2D889C #792D9C #9C422D
split-complementary
#509C2D #422D9C #9C2D88
monochromatic
#1F3D12 #386D1F #509C2D #6AC83F #8FD56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##509C2D#FFFFFF#000000##000000
##509C2D1.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)
#A18F1C
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#4B9686
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #509c2d;
/* rgb */ color: rgb(80, 156, 45);
/* oklch */ color: oklch(62.1% 0.163 137.6);
Tailwind
colors: {
  custom: {
    50: '#88ba6d',
    500: '#509c2d',
    950: '#000000',
  },
}
SCSS
$custom: #509c2d;
$custom-light: #88ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#509c2d",
  "rgb": {
    "r": 80,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 101.081,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.16337,
    "h": 137.6
  },
  "luminance": 0.25672
}

Semantic roles & 50–950 ramp

primary
#509C2D
secondary
#A268BC
accent
#49DFAF
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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