#2FA740#2FA740

#2FA740 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.177 H 145.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2FA740
RGBrgb(47, 167, 64)
HSLhsl(129, 56%, 42%)
HSVhsv(129, 72%, 65%)
CMYKcmyk(71.9%, 0%, 61.7%, 34.5%)
CIE-LABlab(60.44, -53.88, 42.98)
CIE-LCHlch(60.44, 68.92, 141.42°)
OKLaboklab(64.1% -0.1455 0.1009)
OKLCHoklch(64.1% 0.177 145.3)
XYZxyz(15.9153, 28.6102, 9.5330)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA740 #A72F96
analogous
#5AA72F #2FA740 #2FA77C
triadic
#2FA740 #402FA7 #A7402F
tetradic
#2FA740 #2F5AA7 #A72F96 #A77C2F
square
#2FA740 #2F5AA7 #A72F96 #A77C2F
split-complementary
#2FA740 #7C2FA7 #A72F5A
monochromatic
#14471B #22772E #2FA740 #48CB5A #78D985

Accessibility & contrast

On white

3.12
#2FA740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#2FA740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA740
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA740#FFFFFF#000000##000000
##2FA7401.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa740;
/* rgb */ color: rgb(47, 167, 64);
/* oklch */ color: oklch(64.1% 0.177 145.3);
Tailwind
colors: {
  custom: {
    50: '#79c278',
    500: '#2fa740',
    950: '#000000',
  },
}
SCSS
$custom: #2fa740;
$custom-light: #79c278;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa740",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 128.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.17706,
    "h": 145.3
  },
  "luminance": 0.28612
}

Semantic roles & 50–950 ramp

primary
#2FA740
secondary
#C171B6
accent
#48CADF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA740

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

Preview Lab → · Contrast checker → · Palette generator →

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