#2FAB2A#2FAB2A

#2FAB2A is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.197 H 142.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2FAB2A
RGBrgb(47, 171, 42)
HSLhsl(118, 61%, 42%)
HSVhsv(118, 75%, 67%)
CMYKcmyk(72.5%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.56, -57.38, 53.20)
CIE-LCHlch(61.56, 78.24, 137.17°)
OKLaboklab(64.98% -0.156 0.1199)
OKLCHoklch(64.98% 0.197 142.5)
XYZxyz(16.1522, 29.8955, 7.1092)
Luminance0.2990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB2A #A62AAB
analogous
#70AB2A #2FAB2A #2AAB65
triadic
#2FAB2A #2A2FAB #AB2A2F
tetradic
#2FAB2A #2A70AB #A62AAB #AB652A
square
#2FAB2A #2A70AB #A62AAB #AB652A
split-complementary
#2FAB2A #652AAB #AB2A70
monochromatic
#144912 #217A1E #2FAB2A #47D142 #77DD73

Accessibility & contrast

On white

3.01
#2FAB2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#2FAB2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FAB2A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB2A#FFFFFF#000000##000000
##2FAB2A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#01A692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab2a;
/* rgb */ color: rgb(47, 171, 42);
/* oklch */ color: oklch(65.0% 0.197 142.5);
Tailwind
colors: {
  custom: {
    50: '#7bc56d',
    500: '#2fab2a',
    950: '#000000',
  },
}
SCSS
$custom: #2fab2a;
$custom-light: #7bc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab2a",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 117.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64982,
    "c": 0.19676,
    "h": 142.5
  },
  "luminance": 0.29897
}

Semantic roles & 50–950 ramp

primary
#2FAB2A
secondary
#C16DC4
accent
#44E4DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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