Skip to content

#2ffc72

a balanced, electric green · cool · closest name: Spring Green

RGB
47, 252, 114
HSL
140°, 97%, 59%
CMYK
81, 0, 55, 1
Luminance
0.7144

At a glance

Every number on this page in one read: what #2ffc72 is made of, how bright it looks, and which way it leans.

Hex
#2ffc72
Hue
140°
green
Saturation
97%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
78%
weighted brightness
Luminance
0.7144
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.29:1
Closest name
Spring Green
ΔE2000 1.9
Where it sits
Hue140° of 360°
Saturation97%
Lightness59%
Temperature
Warm ← → Cool71% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2ffc72
RGBrgb(47, 252, 114)
HSLhsl(140, 97%, 59%)
CMYKcmyk(81%, 0%, 55%, 1%)
LABlab(87.7 -75.4 52.1)
LCHlch(87.7 91.7 145.3)
OKLCHoklch(0.869 0.238 148.4)
Decimal3144818
Display P3color(display-p3 0.184 0.988 0.447)

Copy-ready code

/* CSS */
color: #2ffc72;
background-color: #2ffc72;
/* Tailwind (arbitrary) */
class="text-[#2ffc72] bg-[#2ffc72]"
/* SCSS */
$brand: #2ffc72;
/* SwiftUI */
Color(red: 0.184, green: 0.988, blue: 0.447)
/* Android */
Color.parseColor("#2ffc72")
/* Flutter */
Color(0xFF2FFC72)
/* Python / OpenCV (BGR) */
(114, 252, 47)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #2ffc72 · 15.29:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.29:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2ffc72 as text scores 1.37:1 on white and 15.29:1 on black.

Accessibility — WCAG contrast

Aa
#2ffc72 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#2ffc72 on black: 15.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE565
deuteranopia · #E8D67D
tritanopia · #00F7DD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2ffc72 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FDF5
#E4FCEB
#C1FBD4
#90FDB4
#59FD8E
#2ffc72
#03F151
#03C944
#02A136
#06742A
#04481A
Base = 500Lightest = 50 · #F1FDF5Darkest = 950 · #04481A
:root {
  --brand-50: #F1FDF5;
  --brand-100: #E4FCEB;
  --brand-200: #C1FBD4;
  --brand-300: #90FDB4;
  --brand-400: #59FD8E;
  --brand-500: #2ffc72;
  --brand-600: #03F151;
  --brand-700: #03C944;
  --brand-800: #02A136;
  --brand-900: #06742A;
  --brand-950: #04481A;
  --brand: #2ffc72;
  --brand-ink: #000000;
}

Colors that work with #2ffc72

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF6
Tinted page background
Border#C0EDCE
Hairlines and dividers
Muted text#4B9B65
Captions on the surface
Accent#CC00BD
Second voice, not a rival
Dark variant#027E2A
Hover, pressed, headers
Light variant#E6FFEE
Selected rows, tints
Dark surface#142419
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2ffc72

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FC2FB9
Analogous left#52FC2F
Analogous right#2FFCD8
Split-complement 1#D82FFC
Split-complement 2#FC2F52
Triadic 1#722FFC
Triadic 2#FC722F
Tetradic#2F52FC

RGB percentages

Red18.4%
Green98.8%
Blue44.7%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow54.8%
Key (black)1.2%

Color previews

#2ffc72 text on a black background

contrast 15.29:1

Card sample

#2ffc72 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2ffc72;
Background color
Panel with #2ffc72 background
background-color: #2ffc72;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2ffc72;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(47, 252, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 252, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ffc72;
background: linear-gradient(135deg, #2ffc72, #2FFCFB);

Monochromatic scale

Palettes built from #2ffc72

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2ffc72 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#2ffc72, answered

What color is #2ffc72?

#2ffc72 is a balanced electric green, closest to Spring Green (ΔE2000 1.9). It sits at 140° on the hue wheel with 97% saturation and 59% lightness, which reads as cool.

What is the RGB value of #2ffc72?

rgb(47, 252, 114) — 47 red, 252 green and 114 blue out of 255, or 18.4% / 98.8% / 44.7% by channel.

Is #2ffc72 a light or a dark color?

It is a light color. Relative luminance is 0.7144 and perceived brightness is 78%, so black text on it reaches 15.29:1.

Should I use black or white text on #2ffc72?

Black. It scores 15.29:1 against #2ffc72, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #2ffc72?

#FC2FB9 sits directly opposite on the wheel. Softer options are the split-complements #D82FFC and #FC2F52, which give the same contrast with far less vibration.

What colors go well with #2ffc72?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B65 for secondary text, #CC00BD as an accent and #027E2A for hover and pressed states. For a palette, the analogous pair #52FC2F and #2FFCD8 stays calm, while #FC2FB9 is the loudest partner.

What is #2ffc72 in CMYK for printing?

cmyk(81%, 0%, 55%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #2ffc72 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #37FC2F; nudged cooler, #2DFEBE.

Work with #2ffc72 in the Color Lab