#2FA942#2FA942

#2FA942 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.7% C 0.178 H 145.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2FA942
RGBrgb(47, 169, 66)
HSLhsl(129, 56%, 42%)
HSVhsv(129, 72%, 66%)
CMYKcmyk(72.2%, 0%, 60.9%, 33.7%)
CIE-LABlab(61.11, -54.33, 42.83)
CIE-LCHlch(61.11, 69.18, 141.75°)
OKLaboklab(64.67% -0.1466 0.1008)
OKLCHoklch(64.67% 0.178 145.5)
XYZxyz(16.3425, 29.3718, 9.9612)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA942 #A92F96
analogous
#59A92F #2FA942 #2FA97F
triadic
#2FA942 #422FA9 #A9422F
tetradic
#2FA942 #2F59A9 #A92F96 #A97F2F
square
#2FA942 #2F59A9 #A92F96 #A97F2F
split-complementary
#2FA942 #7F2FA9 #A92F59
monochromatic
#14491D #22792F #2FA942 #49CC5D #79DA88

Accessibility & contrast

On white

3.05
#2FA942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA942#FFFFFF#000000##000000
##2FA9421.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2fa942;
/* rgb */ color: rgb(47, 169, 66);
/* oklch */ color: oklch(64.7% 0.178 145.5);
Tailwind
colors: {
  custom: {
    50: '#7ac47a',
    500: '#2fa942',
    950: '#000000',
  },
}
SCSS
$custom: #2fa942;
$custom-light: #7ac47a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa942",
  "rgb": {
    "r": 47,
    "g": 169,
    "b": 66
  },
  "hsl": {
    "h": 129.344,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.17793,
    "h": 145.5
  },
  "luminance": 0.29374
}

Semantic roles & 50–950 ramp

primary
#2FA942
secondary
#C272B5
accent
#48C8E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2FA942

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

Preview Lab → · Contrast checker → · Palette generator →

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