#2FA72A#2FA72A

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

Color values

HEX#2FA72A
RGBrgb(47, 167, 42)
HSLhsl(118, 60%, 41%)
HSVhsv(118, 75%, 65%)
CMYKcmyk(71.9%, 0%, 74.9%, 34.5%)
CIE-LABlab(60.25, -56.06, 51.89)
CIE-LCHlch(60.25, 76.38, 137.21°)
OKLaboklab(63.9% -0.1524 0.1172)
OKLCHoklch(63.9% 0.192 142.5)
XYZxyz(15.4080, 28.4072, 6.8612)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA72A #A22AA7
analogous
#6DA72A #2FA72A #2AA763
triadic
#2FA72A #2A2FA7 #A72A2F
tetradic
#2FA72A #2A6DA7 #A22AA7 #A7632A
square
#2FA72A #2A6DA7 #A22AA7 #A7632A
split-complementary
#2FA72A #632AA7 #A72A6D
monochromatic
#134511 #21761E #2FA72A #45CF3F #75DB70

Accessibility & contrast

On white

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

On black

6.68
#2FA72A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA72A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA72A#FFFFFF#000000##000000
##2FA72A1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9711
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#06A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa72a;
/* rgb */ color: rgb(47, 167, 42);
/* oklch */ color: oklch(63.9% 0.192 142.5);
Tailwind
colors: {
  custom: {
    50: '#7ac26c',
    500: '#2fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #2fa72a;
$custom-light: #7ac26c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa72a",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 117.6,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.19226,
    "h": 142.5
  },
  "luminance": 0.28409
}

Semantic roles & 50–950 ramp

primary
#2FA72A
secondary
#BF6BC2
accent
#45E3DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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