#2FAB31#2FAB31

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

Color values

HEX#2FAB31
RGBrgb(47, 171, 49)
HSLhsl(121, 57%, 43%)
HSVhsv(121, 73%, 67%)
CMYKcmyk(72.5%, 0%, 71.3%, 32.9%)
CIE-LABlab(61.61, -56.80, 50.65)
CIE-LCHlch(61.61, 76.11, 138.28°)
OKLaboklab(65.04% -0.1541 0.1155)
OKLCHoklch(65.04% 0.193 143.1)
XYZxyz(16.2886, 29.9501, 7.8276)
Luminance0.2995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAB31 #AB2FA9
analogous
#6BAB2F #2FAB31 #2FAB6F
triadic
#2FAB31 #312FAB #AB312F
tetradic
#2FAB31 #2F6BAB #AB2FA9 #AB6F2F
square
#2FAB31 #2F6BAB #AB2FA9 #AB6F2F
split-complementary
#2FAB31 #6F2FAB #AB2F6B
monochromatic
#154B15 #227B23 #2FAB31 #4ACD4C #7ADA7C

Accessibility & contrast

On white

3.00
#2FAB31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FAB31#FFFFFF#000000##000000
##2FAB311.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2fab31;
/* rgb */ color: rgb(47, 171, 49);
/* oklch */ color: oklch(65.0% 0.193 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bc570',
    500: '#2fab31',
    950: '#000000',
  },
}
SCSS
$custom: #2fab31;
$custom-light: #7bc570;
$custom-dark: #000000;
JSON
{
  "hex": "#2fab31",
  "rgb": {
    "r": 47,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 120.968,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65037,
    "c": 0.19259,
    "h": 143.1
  },
  "luminance": 0.29952
}

Semantic roles & 50–950 ramp

primary
#2FAB31
secondary
#C373C1
accent
#48DEE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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