#2FA240#2FA240

#2FA240 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.171 H 145.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2FA240
RGBrgb(47, 162, 64)
HSLhsl(129, 55%, 41%)
HSVhsv(129, 71%, 64%)
CMYKcmyk(71%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.80, -52.12, 41.10)
CIE-LCHlch(58.80, 66.37, 141.74°)
OKLaboklab(62.75% -0.1407 0.0969)
OKLCHoklch(62.75% 0.171 145.5)
XYZxyz(15.0170, 26.8135, 9.2336)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA240 #A22F91
analogous
#57A22F #2FA240 #2FA279
triadic
#2FA240 #402FA2 #A2402F
tetradic
#2FA240 #2F57A2 #A22F91 #A2792F
square
#2FA240 #2F57A2 #A22F91 #A2792F
split-complementary
#2FA240 #792FA2 #A22F57
monochromatic
#13431B #21732D #2FA240 #45C959 #75D783

Accessibility & contrast

On white

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

On black

6.36
#2FA240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA240
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA240#FFFFFF#000000##000000
##2FA2401.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2fa240;
/* rgb */ color: rgb(47, 162, 64);
/* oklch */ color: oklch(62.7% 0.171 145.5);
Tailwind
colors: {
  custom: {
    50: '#78bf78',
    500: '#2fa240',
    950: '#000000',
  },
}
SCSS
$custom: #2fa240;
$custom-light: #78bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa240",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 128.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6275,
    "c": 0.17084,
    "h": 145.5
  },
  "luminance": 0.26815
}

Semantic roles & 50–950 ramp

primary
#2FA240
secondary
#BF6EB3
accent
#49C8DE
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA240

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

Preview Lab → · Contrast checker → · Palette generator →

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