#2FAC40#2FAC40

#2FAC40 is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.183 H 145.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2FAC40
RGBrgb(47, 172, 64)
HSLhsl(128, 57%, 43%)
HSVhsv(128, 73%, 67%)
CMYKcmyk(72.7%, 0%, 62.8%, 32.5%)
CIE-LABlab(62.06, -55.61, 44.83)
CIE-LCHlch(62.06, 71.43, 141.13°)
OKLaboklab(65.45% -0.1502 0.1049)
OKLCHoklch(65.45% 0.183 145.1)
XYZxyz(16.8491, 30.4777, 9.8443)
Luminance0.3048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAC40 #AC2F9B
analogous
#5CAC2F #2FAC40 #2FAC7E
triadic
#2FAC40 #402FAC #AC402F
tetradic
#2FAC40 #2F5CAC #AC2F9B #AC7E2F
square
#2FAC40 #2F5CAC #AC2F9B #AC7E2F
split-complementary
#2FAC40 #7E2FAC #AC2F5C
monochromatic
#154C1C #227C2E #2FAC40 #4BCE5C #7BDB88

Accessibility & contrast

On white

2.96
#2FAC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#2FAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAC40
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAC40#FFFFFF#000000##000000
##2FAC401.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A09249
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #2fac40;
/* rgb */ color: rgb(47, 172, 64);
/* oklch */ color: oklch(65.5% 0.183 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ac679',
    500: '#2fac40',
    950: '#000000',
  },
}
SCSS
$custom: #2fac40;
$custom-light: #7ac679;
$custom-dark: #000000;
JSON
{
  "hex": "#2fac40",
  "rgb": {
    "r": 47,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 128.16,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.18317,
    "h": 145.1
  },
  "luminance": 0.3048
}

Semantic roles & 50–950 ramp

primary
#2FAC40
secondary
#C374B8
accent
#47CCE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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