#2FA242#2FA242

#2FA242 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.169 H 145.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2FA242
RGBrgb(47, 162, 66)
HSLhsl(130, 55%, 41%)
HSVhsv(130, 71%, 64%)
CMYKcmyk(71%, 0%, 59.3%, 36.5%)
CIE-LABlab(58.82, -51.86, 40.18)
CIE-LCHlch(58.82, 65.61, 142.23°)
OKLaboklab(62.78% -0.14 0.095)
OKLCHoklch(62.78% 0.169 145.8)
XYZxyz(15.0749, 26.8367, 9.5387)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA242 #A22F8F
analogous
#55A22F #2FA242 #2FA27B
triadic
#2FA242 #422FA2 #A2422F
tetradic
#2FA242 #2F55A2 #A22F8F #A27B2F
square
#2FA242 #2F55A2 #A22F8F #A27B2F
split-complementary
#2FA242 #7B2FA2 #A22F55
monochromatic
#13431B #21732F #2FA242 #45C95B #75D785

Accessibility & contrast

On white

3.30
#2FA242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#2FA242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA242
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA242#FFFFFF#000000##000000
##2FA2421.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49338
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa242;
/* rgb */ color: rgb(47, 162, 66);
/* oklch */ color: oklch(62.8% 0.169 145.8);
Tailwind
colors: {
  custom: {
    50: '#78bf79',
    500: '#2fa242',
    950: '#000000',
  },
}
SCSS
$custom: #2fa242;
$custom-light: #78bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa242",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 129.913,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.16919,
    "h": 145.8
  },
  "luminance": 0.26838
}

Semantic roles & 50–950 ramp

primary
#2FA242
secondary
#BF6EB1
accent
#49C6DE
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA242

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

Preview Lab → · Contrast checker → · Palette generator →

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