#2FA42B#2FA42B

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

Color values

HEX#2FA42B
RGBrgb(47, 164, 43)
HSLhsl(118, 58%, 41%)
HSVhsv(118, 74%, 64%)
CMYKcmyk(71.3%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.28, -54.97, 50.53)
CIE-LCHlch(59.28, 74.67, 137.41°)
OKLaboklab(63.09% -0.1494 0.1145)
OKLCHoklch(63.09% 0.188 142.5)
XYZxyz(14.8829, 27.3280, 6.7755)
Luminance0.2733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA42B #A02BA4
analogous
#6BA42B #2FA42B #2BA464
triadic
#2FA42B #2B2FA4 #A42B2F
tetradic
#2FA42B #2B6BA4 #A02BA4 #A4642B
square
#2FA42B #2B6BA4 #A02BA4 #A4642B
split-complementary
#2FA42B #642BA4 #A42B6B
monochromatic
#134312 #21741E #2FA42B #44CD3F #73D970

Accessibility & contrast

On white

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

On black

6.47
#2FA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA42B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA42B#FFFFFF#000000##000000
##2FA42B1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#099F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2fa42b;
/* rgb */ color: rgb(47, 164, 43);
/* oklch */ color: oklch(63.1% 0.188 142.5);
Tailwind
colors: {
  custom: {
    50: '#79c06c',
    500: '#2fa42b',
    950: '#000000',
  },
}
SCSS
$custom: #2fa42b;
$custom-light: #79c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa42b",
  "rgb": {
    "r": 47,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 118.017,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.18825,
    "h": 142.5
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#2FA42B
secondary
#BE6AC1
accent
#46E2DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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