#2FA840#2FA840

#2FA840 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.178 H 145.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2FA840
RGBrgb(47, 168, 64)
HSLhsl(128, 56%, 42%)
HSVhsv(128, 72%, 66%)
CMYKcmyk(72%, 0%, 61.9%, 34.1%)
CIE-LABlab(60.76, -54.23, 43.35)
CIE-LCHlch(60.76, 69.42, 141.36°)
OKLaboklab(64.37% -0.1464 0.1017)
OKLCHoklch(64.37% 0.178 145.2)
XYZxyz(16.0992, 28.9780, 9.5943)
Luminance0.2898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA840 #A82F97
analogous
#5AA82F #2FA840 #2FA87D
triadic
#2FA840 #402FA8 #A8402F
tetradic
#2FA840 #2F5AA8 #A82F97 #A87D2F
square
#2FA840 #2F5AA8 #A82F97 #A87D2F
split-complementary
#2FA840 #7D2FA8 #A82F5A
monochromatic
#14481C #22782E #2FA840 #48CC5B #78D986

Accessibility & contrast

On white

3.09
#2FA840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#2FA840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA840
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA840#FFFFFF#000000##000000
##2FA8401.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9835
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #2fa840;
/* rgb */ color: rgb(47, 168, 64);
/* oklch */ color: oklch(64.4% 0.178 145.2);
Tailwind
colors: {
  custom: {
    50: '#79c379',
    500: '#2fa840',
    950: '#000000',
  },
}
SCSS
$custom: #2fa840;
$custom-light: #79c379;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa840",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 128.43,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64374,
    "c": 0.17829,
    "h": 145.2
  },
  "luminance": 0.2898
}

Semantic roles & 50–950 ramp

primary
#2FA840
secondary
#C171B6
accent
#48CAE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2FA840

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

Preview Lab → · Contrast checker → · Palette generator →

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