#2FA42F#2FA42F

#2FA42F is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.186 H 143.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2FA42F
RGBrgb(47, 164, 47)
HSLhsl(120, 55%, 41%)
HSVhsv(120, 71%, 64%)
CMYKcmyk(71.3%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.31, -54.63, 49.03)
CIE-LCHlch(59.31, 73.41, 138.09°)
OKLaboklab(63.12% -0.1483 0.1119)
OKLCHoklch(63.12% 0.186 143)
XYZxyz(14.9599, 27.3589, 7.1812)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA42F #A42FA4
analogous
#6AA42F #2FA42F #2FA46A
triadic
#2FA42F #2F2FA4 #A42F2F
tetradic
#2FA42F #2F6AA4 #A42FA4 #A46A2F
square
#2FA42F #2F6AA4 #A42FA4 #A46A2F
split-complementary
#2FA42F #6A2FA4 #A42F6A
monochromatic
#144514 #217421 #2FA42F #46CA46 #76D876

Accessibility & contrast

On white

3.24
#2FA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#2FA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA42F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA42F#FFFFFF#000000##000000
##2FA42F1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8941C
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#079F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2fa42f;
/* rgb */ color: rgb(47, 164, 47);
/* oklch */ color: oklch(63.1% 0.186 143.0);
Tailwind
colors: {
  custom: {
    50: '#79c06e',
    500: '#2fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa42f;
$custom-light: #79c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa42f",
  "rgb": {
    "r": 47,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63119,
    "c": 0.18577,
    "h": 143
  },
  "luminance": 0.2736
}

Semantic roles & 50–950 ramp

primary
#2FA42F
secondary
#C06FC0
accent
#49DFDF
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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