#2FAB28#2FAB28

#2FAB28 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.198 H 142.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2FAB28
RGBrgb(47, 171, 40)
HSLhsl(117, 62%, 41%)
HSVhsv(117, 77%, 67%)
CMYKcmyk(72.5%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.55, -57.53, 53.88)
CIE-LCHlch(61.55, 78.81, 136.88°)
OKLaboklab(64.97% -0.1565 0.121)
OKLCHoklch(64.97% 0.198 142.3)
XYZxyz(16.1173, 29.8816, 6.9254)
Luminance0.2988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB28 #A428AB
analogous
#71AB28 #2FAB28 #28AB63
triadic
#2FAB28 #282FAB #AB282F
tetradic
#2FAB28 #2871AB #A428AB #AB6328
square
#2FAB28 #2871AB #A428AB #AB6328
split-complementary
#2FAB28 #6328AB #AB2871
monochromatic
#144811 #21791C #2FAB28 #46D23E #76DE70

Accessibility & contrast

On white

3.01
#2FAB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#2FAB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FAB28
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB28#FFFFFF#000000##000000
##2FAB281.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B09
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#02A692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab28;
/* rgb */ color: rgb(47, 171, 40);
/* oklch */ color: oklch(65.0% 0.198 142.3);
Tailwind
colors: {
  custom: {
    50: '#7bc56c',
    500: '#2fab28',
    950: '#000000',
  },
}
SCSS
$custom: #2fab28;
$custom-light: #7bc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab28",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 116.794,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.19785,
    "h": 142.3
  },
  "luminance": 0.29883
}

Semantic roles & 50–950 ramp

primary
#2FAB28
secondary
#C06AC4
accent
#43E5DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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