#2FA42A#2FA42A

#2FA42A is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.189 H 142.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2FA42A
RGBrgb(47, 164, 42)
HSLhsl(118, 59%, 40%)
HSVhsv(118, 74%, 64%)
CMYKcmyk(71.3%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.27, -55.05, 50.90)
CIE-LCHlch(59.27, 74.97, 137.25°)
OKLaboklab(63.08% -0.1497 0.1151)
OKLCHoklch(63.08% 0.189 142.4)
XYZxyz(14.8648, 27.3208, 6.6801)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA42A #9F2AA4
analogous
#6CA42A #2FA42A #2AA462
triadic
#2FA42A #2A2FA4 #A42A2F
tetradic
#2FA42A #2A6CA4 #9F2AA4 #A4622A
square
#2FA42A #2A6CA4 #9F2AA4 #A4622A
split-complementary
#2FA42A #622AA4 #A42A6C
monochromatic
#134311 #21731E #2FA42A #44CD3E #73DA6E

Accessibility & contrast

On white

3.25
#2FA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#2FA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA42A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA42A#FFFFFF#000000##000000
##2FA42A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89413
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#0A9F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2fa42a;
/* rgb */ color: rgb(47, 164, 42);
/* oklch */ color: oklch(63.1% 0.189 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac06c',
    500: '#2fa42a',
    950: '#000000',
  },
}
SCSS
$custom: #2fa42a;
$custom-light: #7ac06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa42a",
  "rgb": {
    "r": 47,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 117.541,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.18884,
    "h": 142.4
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#2FA42A
secondary
#BD69C1
accent
#45E2DC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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