#2FA721#2FA721

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

Color values

HEX#2FA721
RGBrgb(47, 167, 33)
HSLhsl(114, 67%, 39%)
HSVhsv(114, 80%, 65%)
CMYKcmyk(71.9%, 0%, 80.2%, 34.5%)
CIE-LABlab(60.20, -56.68, 54.83)
CIE-LCHlch(60.20, 78.86, 135.95°)
OKLaboklab(63.84% -0.1545 0.1221)
OKLCHoklch(63.84% 0.197 141.7)
XYZxyz(15.2647, 28.3499, 6.1062)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA721 #9921A7
analogous
#72A721 #2FA721 #21A756
triadic
#2FA721 #212FA7 #A7212F
tetradic
#2FA721 #2172A7 #9921A7 #A75621
square
#2FA721 #2172A7 #9921A7 #A75621
split-complementary
#2FA721 #5621A7 #A72172
monochromatic
#12410D #217417 #2FA721 #41D62F #6FE062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA721#FFFFFF#000000##000000
##2FA7211.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)
#9E8E31
Tritanopia (blue-blind)
#0BA28E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa721;
/* rgb */ color: rgb(47, 167, 33);
/* oklch */ color: oklch(63.8% 0.197 141.7);
Tailwind
colors: {
  custom: {
    50: '#7bc268',
    500: '#2fa721',
    950: '#000000',
  },
}
SCSS
$custom: #2fa721;
$custom-light: #7bc268;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa721",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 113.731,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.19694,
    "h": 141.7
  },
  "luminance": 0.28352
}

Semantic roles & 50–950 ramp

primary
#2FA721
secondary
#BA5FC5
accent
#3EEAD8
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA721

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

Preview Lab → · Contrast checker → · Palette generator →

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