#2FAB42#2FAB42

#2FAB42 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.180 H 145.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2FAB42
RGBrgb(47, 171, 66)
HSLhsl(129, 57%, 43%)
HSVhsv(129, 73%, 67%)
CMYKcmyk(72.5%, 0%, 61.4%, 32.9%)
CIE-LABlab(61.76, -55.02, 43.57)
CIE-LCHlch(61.76, 70.19, 141.62°)
OKLaboklab(65.21% -0.1485 0.1024)
OKLCHoklch(65.21% 0.18 145.4)
XYZxyz(16.7174, 30.1216, 10.0862)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB42 #AB2F98
analogous
#5AAB2F #2FAB42 #2FAB80
triadic
#2FAB42 #422FAB #AB422F
tetradic
#2FAB42 #2F5AAB #AB2F98 #AB802F
square
#2FAB42 #2F5AAB #AB2F98 #AB802F
split-complementary
#2FAB42 #802FAB #AB2F5A
monochromatic
#154B1D #227B2F #2FAB42 #4ACD5E #7ADA89

Accessibility & contrast

On white

2.99
#2FAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#2FAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAB42
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB42#FFFFFF#000000##000000
##2FAB421.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#9F914B
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab42;
/* rgb */ color: rgb(47, 171, 66);
/* oklch */ color: oklch(65.2% 0.180 145.4);
Tailwind
colors: {
  custom: {
    50: '#7ac57a',
    500: '#2fab42',
    950: '#000000',
  },
}
SCSS
$custom: #2fab42;
$custom-light: #7ac57a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab42",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 129.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.18038,
    "h": 145.4
  },
  "luminance": 0.30124
}

Semantic roles & 50–950 ramp

primary
#2FAB42
secondary
#C373B7
accent
#48C9E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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