#2FAA40#2FAA40

#2FAA40 is a light, vivid green. Relative luminance 0.297; OKLCH L 64.9% C 0.181 H 145.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2FAA40
RGBrgb(47, 170, 64)
HSLhsl(128, 57%, 43%)
HSVhsv(128, 72%, 67%)
CMYKcmyk(72.4%, 0%, 62.4%, 33.3%)
CIE-LABlab(61.41, -54.92, 44.09)
CIE-LCHlch(61.41, 70.43, 141.24°)
OKLaboklab(64.91% -0.1483 0.1033)
OKLCHoklch(64.91% 0.181 145.1)
XYZxyz(16.4713, 29.7221, 9.7184)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAA40 #AA2F99
analogous
#5BAA2F #2FAA40 #2FAA7E
triadic
#2FAA40 #402FAA #AA402F
tetradic
#2FAA40 #2F5BAA #AA2F99 #AA7E2F
square
#2FAA40 #2F5BAA #AA2F99 #AA7E2F
split-complementary
#2FAA40 #7E2FAA #AA2F5B
monochromatic
#144A1C #227A2E #2FAA40 #49CD5C #79DA87

Accessibility & contrast

On white

3.02
#2FAA40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#2FAA40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FAA40
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAA40#FFFFFF#000000##000000
##2FAA401.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A34
Deuteranopia (green-blind)
#9F9049
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #2faa40;
/* rgb */ color: rgb(47, 170, 64);
/* oklch */ color: oklch(64.9% 0.181 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ac479',
    500: '#2faa40',
    950: '#000000',
  },
}
SCSS
$custom: #2faa40;
$custom-light: #7ac479;
$custom-dark: #000000;
JSON
{
  "hex": "#2faa40",
  "rgb": {
    "r": 47,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 128.293,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64914,
    "c": 0.18074,
    "h": 145.1
  },
  "luminance": 0.29724
}

Semantic roles & 50–950 ramp

primary
#2FAA40
secondary
#C272B7
accent
#48CBE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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