#2FF271#2FF271

#2FF271 is a very light, highly saturated green. Relative luminance 0.653; OKLCH L 84.3% C 0.227 H 148.8°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2FF271
RGBrgb(47, 242, 113)
HSLhsl(140, 88%, 57%)
HSVhsv(140, 81%, 95%)
CMYKcmyk(80.6%, 0%, 53.3%, 5.1%)
CIE-LABlab(84.64, -72.34, 48.91)
CIE-LCHlch(84.64, 87.32, 145.94°)
OKLaboklab(84.34% -0.1942 0.1174)
OKLCHoklch(84.34% 0.227 148.8)
XYZxyz(35.9021, 65.2964, 26.3309)
Luminance0.6530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FF271 #F22FB0
analogous
#4FF22F #2FF271 #2FF2D3
triadic
#2FF271 #712FF2 #F2712F
tetradic
#2FF271 #2F4FF2 #F22FB0 #F2D32F
square
#2FF271 #2F4FF2 #F22FB0 #F2D32F
split-complementary
#2FF271 #D32FF2 #F22F4F
monochromatic
#0A9D3C #0DD651 #2FF271 #69F698 #A2F9C0

Accessibility & contrast

On white

1.49
#2FF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#2FF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FF271
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FF271#FFFFFF#000000##000000
##2FF2711.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC65
Deuteranopia (green-blind)
#DFCD7B
Tritanopia (blue-blind)
#00EDD5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #2ff271;
/* rgb */ color: rgb(47, 242, 113);
/* oklch */ color: oklch(84.3% 0.227 148.8);
Tailwind
colors: {
  custom: {
    50: '#89f89c',
    500: '#2ff271',
    950: '#000000',
  },
}
SCSS
$custom: #2ff271;
$custom-light: #89f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#2ff271",
  "rgb": {
    "r": 47,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 140.308,
    "s": 88.235,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84343,
    "c": 0.22689,
    "h": 148.8
  },
  "luminance": 0.65301
}

Semantic roles & 50–950 ramp

primary
#2FF271
secondary
#A02676
accent
#29B6FE
background
#FCFFFC
surface
#F5FFF5
border
#CFD7CF
text
#0E170E
muted
#7F857F

Preview Lab

Preview with #2FF271

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

Preview Lab → · Contrast checker → · Palette generator →

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