#2FA540#2FA540

#2FA540 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.175 H 145.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2FA540
RGBrgb(47, 165, 64)
HSLhsl(129, 56%, 42%)
HSVhsv(129, 72%, 65%)
CMYKcmyk(71.5%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.78, -53.18, 42.23)
CIE-LCHlch(59.78, 67.90, 141.55°)
OKLaboklab(63.56% -0.1436 0.0993)
OKLCHoklch(63.56% 0.175 145.3)
XYZxyz(15.5518, 27.8831, 9.4119)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA540 #A52F94
analogous
#59A52F #2FA540 #2FA57B
triadic
#2FA540 #402FA5 #A5402F
tetradic
#2FA540 #2F59A5 #A52F94 #A57B2F
square
#2FA540 #2F59A5 #A52F94 #A57B2F
split-complementary
#2FA540 #7B2FA5 #A52F59
monochromatic
#14461B #21752E #2FA540 #47CB5A #76D884

Accessibility & contrast

On white

3.19
#2FA540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#2FA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA540
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA540#FFFFFF#000000##000000
##2FA5401.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#9A8C48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa540;
/* rgb */ color: rgb(47, 165, 64);
/* oklch */ color: oklch(63.6% 0.175 145.3);
Tailwind
colors: {
  custom: {
    50: '#79c178',
    500: '#2fa540',
    950: '#000000',
  },
}
SCSS
$custom: #2fa540;
$custom-light: #79c178;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa540",
  "rgb": {
    "r": 47,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 128.644,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.17458,
    "h": 145.3
  },
  "luminance": 0.27885
}

Semantic roles & 50–950 ramp

primary
#2FA540
secondary
#C070B4
accent
#49C9DF
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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