#2FAC31#2FAC31

#2FAC31 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.194 H 143.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2FAC31
RGBrgb(47, 172, 49)
HSLhsl(121, 57%, 43%)
HSVhsv(121, 73%, 67%)
CMYKcmyk(72.7%, 0%, 71.5%, 32.5%)
CIE-LABlab(61.94, -57.14, 50.99)
CIE-LCHlch(61.94, 76.58, 138.25°)
OKLaboklab(65.31% -0.155 0.1162)
OKLCHoklch(65.31% 0.194 143.1)
XYZxyz(16.4782, 30.3293, 7.8908)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAC31 #AC2FAA
analogous
#6BAC2F #2FAC31 #2FAC6F
triadic
#2FAC31 #312FAC #AC312F
tetradic
#2FAC31 #2F6BAC #AC2FAA #AC6F2F
square
#2FAC31 #2F6BAC #AC2FAA #AC6F2F
split-complementary
#2FAC31 #6F2FAC #AC2F6B
monochromatic
#154C16 #227C23 #2FAC31 #4BCE4D #7BDB7C

Accessibility & contrast

On white

2.97
#2FAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#2FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAC31
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAC31#FFFFFF#000000##000000
##2FAC311.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A1923D
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #2fac31;
/* rgb */ color: rgb(47, 172, 49);
/* oklch */ color: oklch(65.3% 0.194 143.1);
Tailwind
colors: {
  custom: {
    50: '#7bc670',
    500: '#2fac31',
    950: '#000000',
  },
}
SCSS
$custom: #2fac31;
$custom-light: #7bc670;
$custom-dark: #000000;
JSON
{
  "hex": "#2fac31",
  "rgb": {
    "r": 47,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 120.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65307,
    "c": 0.19373,
    "h": 143.1
  },
  "luminance": 0.30331
}

Semantic roles & 50–950 ramp

primary
#2FAC31
secondary
#C374C2
accent
#47DEE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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