#2FA72B#2FA72B

#2FA72B 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#2FA72B
RGBrgb(47, 167, 43)
HSLhsl(118, 59%, 41%)
HSVhsv(118, 74%, 65%)
CMYKcmyk(71.9%, 0%, 74.3%, 34.5%)
CIE-LABlab(60.26, -55.98, 51.53)
CIE-LCHlch(60.26, 76.08, 137.37°)
OKLaboklab(63.9% -0.1522 0.1166)
OKLCHoklch(63.9% 0.192 142.5)
XYZxyz(15.4261, 28.4145, 6.9566)
Luminance0.2842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA72B #A32BA7
analogous
#6DA72B #2FA72B #2BA765
triadic
#2FA72B #2B2FA7 #A72B2F
tetradic
#2FA72B #2B6DA7 #A32BA7 #A7652B
square
#2FA72B #2B6DA7 #A32BA7 #A7652B
split-complementary
#2FA72B #652BA7 #A72B6D
monochromatic
#144612 #21761E #2FA72B #46CE41 #75DB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA72B#FFFFFF#000000##000000
##2FA72B1.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)
#AB9713
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#06A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa72b;
/* rgb */ color: rgb(47, 167, 43);
/* oklch */ color: oklch(63.9% 0.192 142.5);
Tailwind
colors: {
  custom: {
    50: '#7ac26d',
    500: '#2fa72b',
    950: '#000000',
  },
}
SCSS
$custom: #2fa72b;
$custom-light: #7ac26d;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa72b",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 118.065,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63903,
    "c": 0.19167,
    "h": 142.5
  },
  "luminance": 0.28416
}

Semantic roles & 50–950 ramp

primary
#2FA72B
secondary
#BF6CC2
accent
#46E2DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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