#2FA62F#2FA62F

#2FA62F is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.188 H 143.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2FA62F
RGBrgb(47, 166, 47)
HSLhsl(120, 56%, 42%)
HSVhsv(120, 72%, 65%)
CMYKcmyk(71.7%, 0%, 71.7%, 34.9%)
CIE-LABlab(59.96, -55.31, 49.71)
CIE-LCHlch(59.96, 74.36, 138.05°)
OKLaboklab(63.66% -0.1501 0.1133)
OKLCHoklch(63.66% 0.188 143)
XYZxyz(15.3207, 28.0803, 7.3014)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA62F #A62FA6
analogous
#6BA62F #2FA62F #2FA66B
triadic
#2FA62F #2F2FA6 #A62F2F
tetradic
#2FA62F #2F6BA6 #A62FA6 #A66B2F
square
#2FA62F #2F6BA6 #A62FA6 #A66B2F
split-complementary
#2FA62F #6B2FA6 #A62F6B
monochromatic
#144714 #217621 #2FA62F #47CB47 #77D877

Accessibility & contrast

On white

3.17
#2FA62F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#2FA62F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA62F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA62F#FFFFFF#000000##000000
##2FA62F1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#04A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa62f;
/* rgb */ color: rgb(47, 166, 47);
/* oklch */ color: oklch(63.7% 0.188 143.0);
Tailwind
colors: {
  custom: {
    50: '#7ac26f',
    500: '#2fa62f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa62f;
$custom-light: #7ac26f;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa62f",
  "rgb": {
    "r": 47,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63663,
    "c": 0.18809,
    "h": 143
  },
  "luminance": 0.28082
}

Semantic roles & 50–950 ramp

primary
#2FA62F
secondary
#C170C1
accent
#49DFDF
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #2FA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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