#2FA22A#2FA22A

#2FA22A is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.187 H 142.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2FA22A
RGBrgb(47, 162, 42)
HSLhsl(118, 59%, 40%)
HSVhsv(118, 74%, 64%)
CMYKcmyk(71%, 0%, 74.1%, 36.5%)
CIE-LABlab(58.61, -54.38, 50.23)
CIE-LCHlch(58.61, 74.03, 137.27°)
OKLaboklab(62.53% -0.1479 0.1137)
OKLCHoklch(62.53% 0.187 142.4)
XYZxyz(14.5097, 26.6106, 6.5617)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA22A #9D2AA2
analogous
#6BA22A #2FA22A #2AA261
triadic
#2FA22A #2A2FA2 #A22A2F
tetradic
#2FA22A #2A6BA2 #9D2AA2 #A2612A
square
#2FA22A #2A6BA2 #9D2AA2 #A2612A
split-complementary
#2FA22A #612AA2 #A22A6B
monochromatic
#134111 #21711D #2FA22A #43CD3D #72D96D

Accessibility & contrast

On white

3.32
#2FA22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#2FA22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA22A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA22A#FFFFFF#000000##000000
##2FA22A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#0C9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa22a;
/* rgb */ color: rgb(47, 162, 42);
/* oklch */ color: oklch(62.5% 0.187 142.4);
Tailwind
colors: {
  custom: {
    50: '#79bf6b',
    500: '#2fa22a',
    950: '#000000',
  },
}
SCSS
$custom: #2fa22a;
$custom-light: #79bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa22a",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 117.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.18655,
    "h": 142.4
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#2FA22A
secondary
#BC68C0
accent
#46E2DC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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