#2FAB2D#2FAB2D

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

Color values

HEX#2FAB2D
RGBrgb(47, 171, 45)
HSLhsl(119, 58%, 42%)
HSVhsv(119, 74%, 67%)
CMYKcmyk(72.5%, 0%, 73.7%, 32.9%)
CIE-LABlab(61.58, -57.14, 52.14)
CIE-LCHlch(61.58, 77.35, 137.62°)
OKLaboklab(65.01% -0.1552 0.1181)
OKLCHoklch(65.01% 0.195 142.7)
XYZxyz(16.2079, 29.9178, 7.4027)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB2D #A92DAB
analogous
#6EAB2D #2FAB2D #2DAB6A
triadic
#2FAB2D #2D2FAB #AB2D2F
tetradic
#2FAB2D #2D6EAB #A92DAB #AB6A2D
square
#2FAB2D #2D6EAB #A92DAB #AB6A2D
split-complementary
#2FAB2D #6A2DAB #AB2D6E
monochromatic
#144A14 #227B20 #2FAB2D #49CE47 #79DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FAB2D#FFFFFF#000000##000000
##2FAB2D1.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)
#AF9B16
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2fab2d;
/* rgb */ color: rgb(47, 171, 45);
/* oklch */ color: oklch(65.0% 0.195 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bc56e',
    500: '#2fab2d',
    950: '#000000',
  },
}
SCSS
$custom: #2fab2d;
$custom-light: #7bc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab2d",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 119.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.19504,
    "h": 142.7
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#2FAB2D
secondary
#C271C3
accent
#46E2DF
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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