#2FA940#2FA940

#2FA940 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.6% C 0.180 H 145.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2FA940
RGBrgb(47, 169, 64)
HSLhsl(128, 56%, 42%)
HSVhsv(128, 72%, 66%)
CMYKcmyk(72.2%, 0%, 62.1%, 33.7%)
CIE-LABlab(61.09, -54.57, 43.72)
CIE-LCHlch(61.09, 69.93, 141.30°)
OKLaboklab(64.64% -0.1474 0.1025)
OKLCHoklch(64.64% 0.18 145.2)
XYZxyz(16.2846, 29.3486, 9.6561)
Luminance0.2935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA940 #A92F98
analogous
#5BA92F #2FA940 #2FA97D
triadic
#2FA940 #402FA9 #A9402F
tetradic
#2FA940 #2F5BA9 #A92F98 #A97D2F
square
#2FA940 #2F5BA9 #A92F98 #A97D2F
split-complementary
#2FA940 #7D2FA9 #A92F5B
monochromatic
#14491C #22792E #2FA940 #49CC5B #79DA86

Accessibility & contrast

On white

3.06
#2FA940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#2FA940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA940
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA940#FFFFFF#000000##000000
##2FA9401.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9934
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#00A593
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2fa940;
/* rgb */ color: rgb(47, 169, 64);
/* oklch */ color: oklch(64.6% 0.180 145.2);
Tailwind
colors: {
  custom: {
    50: '#7ac479',
    500: '#2fa940',
    950: '#000000',
  },
}
SCSS
$custom: #2fa940;
$custom-light: #7ac479;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa940",
  "rgb": {
    "r": 47,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 128.361,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64644,
    "c": 0.17951,
    "h": 145.2
  },
  "luminance": 0.2935
}

Semantic roles & 50–950 ramp

primary
#2FA940
secondary
#C272B7
accent
#48CBE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2FA940

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

Preview Lab → · Contrast checker → · Palette generator →

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