#2FC321#2FC321

#2FC321 is a light, highly saturated green. Relative luminance 0.397; OKLCH L 71.4% C 0.227 H 141.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2FC321
RGBrgb(47, 195, 33)
HSLhsl(115, 71%, 45%)
HSVhsv(115, 83%, 76%)
CMYKcmyk(75.9%, 0%, 83.1%, 23.5%)
CIE-LABlab(69.29, -65.53, 63.26)
CIE-LCHlch(69.29, 91.08, 136.01°)
OKLaboklab(71.39% -0.1784 0.1397)
OKLCHoklch(71.39% 0.227 141.9)
XYZxyz(20.9607, 39.7419, 8.0048)
Luminance0.3974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FC321 #B521C3
analogous
#80C321 #2FC321 #21C364
triadic
#2FC321 #212FC3 #C3212F
tetradic
#2FC321 #2180C3 #B521C3 #C36421
square
#2FC321 #2180C3 #B521C3 #C36421
split-complementary
#2FC321 #6421C3 #C32180
monochromatic
#165A0F #228F18 #2FC321 #50DF42 #80E877

Accessibility & contrast

On white

2.35
#2FC321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#2FC321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FC321
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FC321#FFFFFF#000000##000000
##2FC3211.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#B8A537
Tritanopia (blue-blind)
#00BDA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #2fc321;
/* rgb */ color: rgb(47, 195, 33);
/* oklch */ color: oklch(71.4% 0.227 141.9);
Tailwind
colors: {
  custom: {
    50: '#81d66c',
    500: '#2fc321',
    950: '#000000',
  },
}
SCSS
$custom: #2fc321;
$custom-light: #81d66c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fc321",
  "rgb": {
    "r": 47,
    "g": 195,
    "b": 33
  },
  "hsl": {
    "h": 114.815,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.22661,
    "h": 141.9
  },
  "luminance": 0.39744
}

Semantic roles & 50–950 ramp

primary
#2FC321
secondary
#C771CF
accent
#3AEEDE
background
#F8FDF6
surface
#F0FAEC
border
#CBD3C7
text
#0C1408
muted
#7D837A

Preview Lab

Preview with #2FC321

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

Preview Lab → · Contrast checker → · Palette generator →

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