#509F2F#509F2F

#509F2F is a light, vivid green. Relative luminance 0.267; OKLCH L 62.9% C 0.166 H 138.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#509F2F
RGBrgb(80, 159, 47)
HSLhsl(102, 54%, 40%)
HSVhsv(102, 70%, 62%)
CMYKcmyk(49.7%, 0%, 70.4%, 37.6%)
CIE-LABlab(58.70, -44.66, 48.72)
CIE-LCHlch(58.70, 66.09, 132.51°)
OKLaboklab(62.91% -0.1233 0.1109)
OKLCHoklch(62.91% 0.166 138)
XYZxyz(16.2189, 26.7058, 6.9889)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509F2F #7E2F9F
analogous
#889F2F #509F2F #2F9F46
triadic
#509F2F #2F509F #9F2F50
tetradic
#509F2F #2F889F #7E2F9F #9F462F
square
#509F2F #2F889F #7E2F9F #9F462F
split-complementary
#509F2F #462F9F #9F2F88
monochromatic
#204113 #387021 #509F2F #6AC844 #90D673

Accessibility & contrast

On white

3.31
#509F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#509F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509F2F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509F2F#FFFFFF#000000##000000
##509F2F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#4A9989
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #509f2f;
/* rgb */ color: rgb(80, 159, 47);
/* oklch */ color: oklch(62.9% 0.166 138.0);
Tailwind
colors: {
  custom: {
    50: '#88bc6e',
    500: '#509f2f',
    950: '#000000',
  },
}
SCSS
$custom: #509f2f;
$custom-light: #88bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#509f2f",
  "rgb": {
    "r": 80,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 102.321,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.16587,
    "h": 138
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#509F2F
secondary
#A56DBD
accent
#4ADEB2
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #509F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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