#2FAB45#2FAB45

#2FAB45 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.2% C 0.178 H 145.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2FAB45
RGBrgb(47, 171, 69)
HSLhsl(131, 57%, 43%)
HSVhsv(131, 73%, 67%)
CMYKcmyk(72.5%, 0%, 59.6%, 32.9%)
CIE-LABlab(61.79, -54.65, 42.22)
CIE-LCHlch(61.79, 69.06, 142.31°)
OKLaboklab(65.24% -0.1474 0.0997)
OKLCHoklch(65.24% 0.178 145.9)
XYZxyz(16.8082, 30.1579, 10.5643)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB45 #AB2F95
analogous
#57AB2F #2FAB45 #2FAB83
triadic
#2FAB45 #452FAB #AB452F
tetradic
#2FAB45 #2F57AB #AB2F95 #AB832F
square
#2FAB45 #2F57AB #AB2F95 #AB832F
split-complementary
#2FAB45 #832FAB #AB2F57
monochromatic
#154B1E #227B32 #2FAB45 #4ACD61 #7ADA8B

Accessibility & contrast

On white

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

On black

7.03
#2FAB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAB45
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB45#FFFFFF#000000##000000
##2FAB451.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B3A
Deuteranopia (green-blind)
#9F914D
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab45;
/* rgb */ color: rgb(47, 171, 69);
/* oklch */ color: oklch(65.2% 0.178 145.9);
Tailwind
colors: {
  custom: {
    50: '#7ac57c',
    500: '#2fab45',
    950: '#000000',
  },
}
SCSS
$custom: #2fab45;
$custom-light: #7ac57c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab45",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 130.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65243,
    "c": 0.17797,
    "h": 145.9
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#2FAB45
secondary
#C373B5
accent
#48C5E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2FAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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