#2FA72F#2FA72F

#2FA72F is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.189 H 143.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2FA72F
RGBrgb(47, 167, 47)
HSLhsl(120, 56%, 42%)
HSVhsv(120, 72%, 65%)
CMYKcmyk(71.9%, 0%, 71.9%, 34.5%)
CIE-LABlab(60.29, -55.64, 50.05)
CIE-LCHlch(60.29, 74.84, 138.03°)
OKLaboklab(63.93% -0.1511 0.114)
OKLCHoklch(63.93% 0.189 143)
XYZxyz(15.5032, 28.4453, 7.3622)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA72F #A72FA7
analogous
#6BA72F #2FA72F #2FA76B
triadic
#2FA72F #2F2FA7 #A72F2F
tetradic
#2FA72F #2F6BA7 #A72FA7 #A76B2F
square
#2FA72F #2F6BA7 #A72FA7 #A76B2F
split-complementary
#2FA72F #6B2FA7 #A72F6B
monochromatic
#144714 #227722 #2FA72F #48CB48 #78D978

Accessibility & contrast

On white

3.14
#2FA72F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#2FA72F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA72F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA72F#FFFFFF#000000##000000
##2FA72F1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#03A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa72f;
/* rgb */ color: rgb(47, 167, 47);
/* oklch */ color: oklch(63.9% 0.189 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ac26f',
    500: '#2fa72f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa72f;
$custom-light: #7ac26f;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa72f",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.18924,
    "h": 143
  },
  "luminance": 0.28447
}

Semantic roles & 50–950 ramp

primary
#2FA72F
secondary
#C171C1
accent
#48DFDF
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #2FA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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