#2FA040#2FA040

#2FA040 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.168 H 145.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2FA040
RGBrgb(47, 160, 64)
HSLhsl(129, 55%, 41%)
HSVhsv(129, 71%, 63%)
CMYKcmyk(70.6%, 0%, 60%, 37.3%)
CIE-LABlab(58.15, -51.40, 40.34)
CIE-LCHlch(58.15, 65.34, 141.88°)
OKLaboklab(62.21% -0.1388 0.0952)
OKLCHoklch(62.21% 0.168 145.5)
XYZxyz(14.6675, 26.1145, 9.1171)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA040 #A02F8F
analogous
#56A02F #2FA040 #2FA079
triadic
#2FA040 #402FA0 #A0402F
tetradic
#2FA040 #2F56A0 #A02F8F #A0792F
square
#2FA040 #2F56A0 #A02F8F #A0792F
split-complementary
#2FA040 #792FA0 #A02F56
monochromatic
#13411A #21712D #2FA040 #44C858 #73D682

Accessibility & contrast

On white

3.37
#2FA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#2FA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA040
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA040#FFFFFF#000000##000000
##2FA0401.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39136
Deuteranopia (green-blind)
#958848
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa040;
/* rgb */ color: rgb(47, 160, 64);
/* oklch */ color: oklch(62.2% 0.168 145.5);
Tailwind
colors: {
  custom: {
    50: '#78bd78',
    500: '#2fa040',
    950: '#000000',
  },
}
SCSS
$custom: #2fa040;
$custom-light: #78bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa040",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 129.027,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.16832,
    "h": 145.5
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#2FA040
secondary
#BE6DB2
accent
#4AC8DE
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA040

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

Preview Lab → · Contrast checker → · Palette generator →

#2FA040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva