#2FA81F#2FA81F

#2FA81F is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.199 H 141.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2FA81F
RGBrgb(47, 168, 31)
HSLhsl(113, 69%, 39%)
HSVhsv(113, 82%, 66%)
CMYKcmyk(72%, 0%, 81.5%, 34.1%)
CIE-LABlab(60.52, -57.13, 55.72)
CIE-LCHlch(60.52, 79.80, 135.71°)
OKLaboklab(64.1% -0.1558 0.1237)
OKLCHoklch(64.1% 0.199 141.6)
XYZxyz(15.4214, 28.7068, 6.0243)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA81F #981FA8
analogous
#74A81F #2FA81F #1FA854
triadic
#2FA81F #1F2FA8 #A81F2F
tetradic
#2FA81F #1F74A8 #981FA8 #A8541F
square
#2FA81F #1F74A8 #981FA8 #A8541F
split-complementary
#2FA81F #541FA8 #A81F74
monochromatic
#12410C #217415 #2FA81F #40D82C #6FE260

Accessibility & contrast

On white

3.11
#2FA81F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#2FA81F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA81F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA81F#FFFFFF#000000##000000
##2FA81F1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#0AA38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa81f;
/* rgb */ color: rgb(47, 168, 31);
/* oklch */ color: oklch(64.1% 0.199 141.6);
Tailwind
colors: {
  custom: {
    50: '#7bc367',
    500: '#2fa81f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa81f;
$custom-light: #7bc367;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa81f",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 112.993,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.19894,
    "h": 141.6
  },
  "luminance": 0.28709
}

Semantic roles & 50–950 ramp

primary
#2FA81F
secondary
#BA5DC6
accent
#3CECD7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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