#2FA542#2FA542

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

Color values

HEX#2FA542
RGBrgb(47, 165, 66)
HSLhsl(130, 56%, 42%)
HSVhsv(130, 72%, 65%)
CMYKcmyk(71.5%, 0%, 60%, 35.3%)
CIE-LABlab(59.80, -52.93, 41.32)
CIE-LCHlch(59.80, 67.15, 142.02°)
OKLaboklab(63.59% -0.1428 0.0975)
OKLCHoklch(63.59% 0.173 145.7)
XYZxyz(15.6097, 27.9062, 9.7170)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA542 #A52F92
analogous
#57A52F #2FA542 #2FA57D
triadic
#2FA542 #422FA5 #A5422F
tetradic
#2FA542 #2F57A5 #A52F92 #A57D2F
square
#2FA542 #2F57A5 #A52F92 #A57D2F
split-complementary
#2FA542 #7D2FA5 #A52F57
monochromatic
#14461C #21752F #2FA542 #47CB5C #76D886

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA542#FFFFFF#000000##000000
##2FA5421.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)
#A89638
Deuteranopia (green-blind)
#9A8C4A
Tritanopia (blue-blind)
#00A190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa542;
/* rgb */ color: rgb(47, 165, 66);
/* oklch */ color: oklch(63.6% 0.173 145.7);
Tailwind
colors: {
  custom: {
    50: '#79c17a',
    500: '#2fa542',
    950: '#000000',
  },
}
SCSS
$custom: #2fa542;
$custom-light: #79c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa542",
  "rgb": {
    "r": 47,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 129.661,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.17296,
    "h": 145.7
  },
  "luminance": 0.27908
}

Semantic roles & 50–950 ramp

primary
#2FA542
secondary
#C070B3
accent
#49C7DF
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA542

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

Preview Lab → · Contrast checker → · Palette generator →

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