#2FA142#2FA142

#2FA142 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.168 H 145.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2FA142
RGBrgb(47, 161, 66)
HSLhsl(130, 55%, 41%)
HSVhsv(130, 71%, 63%)
CMYKcmyk(70.8%, 0%, 59%, 36.9%)
CIE-LABlab(58.50, -51.50, 39.80)
CIE-LCHlch(58.50, 65.09, 142.31°)
OKLaboklab(62.5% -0.139 0.0942)
OKLCHoklch(62.5% 0.168 145.9)
XYZxyz(14.8995, 26.4858, 9.4802)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA142 #A12F8E
analogous
#55A12F #2FA142 #2FA17B
triadic
#2FA142 #422FA1 #A1422F
tetradic
#2FA142 #2F55A1 #A12F8E #A17B2F
square
#2FA142 #2F55A1 #A12F8E #A17B2F
split-complementary
#2FA142 #7B2FA1 #A12F55
monochromatic
#13421B #21722F #2FA142 #45C95B #74D684

Accessibility & contrast

On white

3.33
#2FA142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#2FA142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA142
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA142#FFFFFF#000000##000000
##2FA1421.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa142;
/* rgb */ color: rgb(47, 161, 66);
/* oklch */ color: oklch(62.5% 0.168 145.9);
Tailwind
colors: {
  custom: {
    50: '#78be79',
    500: '#2fa142',
    950: '#000000',
  },
}
SCSS
$custom: #2fa142;
$custom-light: #78be79;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa142",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 130,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.16792,
    "h": 145.9
  },
  "luminance": 0.26487
}

Semantic roles & 50–950 ramp

primary
#2FA142
secondary
#BE6EB1
accent
#4AC5DE
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA142

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

Preview Lab → · Contrast checker → · Palette generator →

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