#2FA22B#2FA22B

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

Color values

HEX#2FA22B
RGBrgb(47, 162, 43)
HSLhsl(118, 58%, 40%)
HSVhsv(118, 73%, 64%)
CMYKcmyk(71%, 0%, 73.5%, 36.5%)
CIE-LABlab(58.62, -54.30, 49.86)
CIE-LCHlch(58.62, 73.72, 137.44°)
OKLaboklab(62.54% -0.1476 0.1131)
OKLCHoklch(62.54% 0.186 142.5)
XYZxyz(14.5278, 26.6178, 6.6572)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA22B #9E2BA2
analogous
#6BA22B #2FA22B #2BA262
triadic
#2FA22B #2B2FA2 #A22B2F
tetradic
#2FA22B #2B6BA2 #9E2BA2 #A2622B
square
#2FA22B #2B6BA2 #9E2BA2 #A2622B
split-complementary
#2FA22B #622BA2 #A22B6B
monochromatic
#134111 #21721E #2FA22B #43CC3E #72D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA22B#FFFFFF#000000##000000
##2FA22B1.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)
#A69316
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#0C9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa22b;
/* rgb */ color: rgb(47, 162, 43);
/* oklch */ color: oklch(62.5% 0.186 142.5);
Tailwind
colors: {
  custom: {
    50: '#79bf6c',
    500: '#2fa22b',
    950: '#000000',
  },
}
SCSS
$custom: #2fa22b;
$custom-light: #79bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa22b",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 117.983,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.18595,
    "h": 142.5
  },
  "luminance": 0.26619
}

Semantic roles & 50–950 ramp

primary
#2FA22B
secondary
#BD69C0
accent
#47E1DC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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