#2FA02A#2FA02A

#2FA02A is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.184 H 142.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2FA02A
RGBrgb(47, 160, 42)
HSLhsl(117, 58%, 40%)
HSVhsv(117, 74%, 63%)
CMYKcmyk(70.6%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.95, -53.70, 49.56)
CIE-LCHlch(57.95, 73.08, 137.30°)
OKLaboklab(61.99% -0.1461 0.1123)
OKLCHoklch(61.99% 0.184 142.4)
XYZxyz(14.1602, 25.9116, 6.4452)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA02A #9B2AA0
analogous
#6AA02A #2FA02A #2AA060
triadic
#2FA02A #2A2FA0 #A02A2F
tetradic
#2FA02A #2A6AA0 #9B2AA0 #A0602A
square
#2FA02A #2A6AA0 #9B2AA0 #A0602A
split-complementary
#2FA02A #602AA0 #A02A6A
monochromatic
#133F11 #21701D #2FA02A #42CC3C #71D86C

Accessibility & contrast

On white

3.40
#2FA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#2FA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA02A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA02A#FFFFFF#000000##000000
##2FA02A1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#0E9B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2fa02a;
/* rgb */ color: rgb(47, 160, 42);
/* oklch */ color: oklch(62.0% 0.184 142.4);
Tailwind
colors: {
  custom: {
    50: '#79bd6b',
    500: '#2fa02a',
    950: '#000000',
  },
}
SCSS
$custom: #2fa02a;
$custom-light: #79bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa02a",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 117.458,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.18424,
    "h": 142.4
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#2FA02A
secondary
#BB67BF
accent
#46E2DB
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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