#2FA71F#2FA71F

#2FA71F is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.198 H 141.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2FA71F
RGBrgb(47, 167, 31)
HSLhsl(113, 69%, 39%)
HSVhsv(113, 81%, 65%)
CMYKcmyk(71.9%, 0%, 81.4%, 34.5%)
CIE-LABlab(60.19, -56.80, 55.42)
CIE-LCHlch(60.19, 79.36, 135.71°)
OKLaboklab(63.83% -0.155 0.123)
OKLCHoklch(63.83% 0.198 141.6)
XYZxyz(15.2375, 28.3390, 5.9630)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA71F #971FA7
analogous
#73A71F #2FA71F #1FA753
triadic
#2FA71F #1F2FA7 #A71F2F
tetradic
#2FA71F #1F73A7 #971FA7 #A7531F
square
#2FA71F #1F73A7 #971FA7 #A7531F
split-complementary
#2FA71F #531FA7 #A71F73
monochromatic
#12400C #207315 #2FA71F #40D82B #6EE15F

Accessibility & contrast

On white

3.15
#2FA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#2FA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA71F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA71F#FFFFFF#000000##000000
##2FA71F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#0CA28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa71f;
/* rgb */ color: rgb(47, 167, 31);
/* oklch */ color: oklch(63.8% 0.198 141.6);
Tailwind
colors: {
  custom: {
    50: '#7bc267',
    500: '#2fa71f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa71f;
$custom-light: #7bc267;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa71f",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 112.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63826,
    "c": 0.19785,
    "h": 141.6
  },
  "luminance": 0.28341
}

Semantic roles & 50–950 ramp

primary
#2FA71F
secondary
#B95CC6
accent
#3CECD7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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