#2FAB2F#2FAB2F

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

Color values

HEX#2FAB2F
RGBrgb(47, 171, 47)
HSLhsl(120, 57%, 43%)
HSVhsv(120, 73%, 67%)
CMYKcmyk(72.5%, 0%, 72.5%, 32.9%)
CIE-LABlab(61.60, -56.98, 51.40)
CIE-LCHlch(61.60, 76.74, 137.94°)
OKLaboklab(65.02% -0.1547 0.1168)
OKLCHoklch(65.02% 0.194 142.9)
XYZxyz(16.2473, 29.9336, 7.6103)
Luminance0.2994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB2F #AB2FAB
analogous
#6DAB2F #2FAB2F #2FAB6D
triadic
#2FAB2F #2F2FAB #AB2F2F
tetradic
#2FAB2F #2F6DAB #AB2FAB #AB6D2F
square
#2FAB2F #2F6DAB #AB2FAB #AB6D2F
split-complementary
#2FAB2F #6D2FAB #AB2F6D
monochromatic
#154B15 #227B22 #2FAB2F #4ACD4A #7ADA7A

Accessibility & contrast

On white

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

On black

6.99
#2FAB2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FAB2F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAB2F#FFFFFF#000000##000000
##2FAB2F1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab2f;
/* rgb */ color: rgb(47, 171, 47);
/* oklch */ color: oklch(65.0% 0.194 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bc56f',
    500: '#2fab2f',
    950: '#000000',
  },
}
SCSS
$custom: #2fab2f;
$custom-light: #7bc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab2f",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6502,
    "c": 0.19384,
    "h": 142.9
  },
  "luminance": 0.29935
}

Semantic roles & 50–950 ramp

primary
#2FAB2F
secondary
#C373C3
accent
#48E0E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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