Skip to content

#2ffc7b

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

RGB
47, 252, 123
HSL
142°, 97%, 59%
CMYK
81, 0, 51, 1
Luminance
0.7166

At a glance

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

Hex
#2ffc7b
Hue
142°
green
Saturation
97%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
78%
weighted brightness
Luminance
0.7166
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.33:1
Closest name
Spring Green
ΔE2000 1
Where it sits
Hue142° of 360°
Saturation97%
Lightness59%
Temperature
Warm ← → Cool72% 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#2ffc7b
RGBrgb(47, 252, 123)
HSLhsl(142, 97%, 59%)
CMYKcmyk(81%, 0%, 51%, 1%)
LABlab(87.8 -74.1 48.1)
LCHlch(87.8 88.4 147.0)
OKLCHoklch(0.870 0.230 149.7)
Decimal3144827
Display P3color(display-p3 0.184 0.988 0.482)

Copy-ready code

/* CSS */
color: #2ffc7b;
background-color: #2ffc7b;
/* Tailwind (arbitrary) */
class="text-[#2ffc7b] bg-[#2ffc7b]"
/* SCSS */
$brand: #2ffc7b;
/* SwiftUI */
Color(red: 0.184, green: 0.988, blue: 0.482)
/* Android */
Color.parseColor("#2ffc7b")
/* Flutter */
Color(0xFF2FFC7B)
/* Python / OpenCV (BGR) */
(123, 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 #2ffc7b · 15.33:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2ffc7b as text scores 1.37:1 on white and 15.33:1 on black.

Accessibility — WCAG contrast

Aa
#2ffc7b on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#2ffc7b on black: 15.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FEE670
deuteranopia · #E8D685
tritanopia · #00F7DE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2ffc7b 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.

#F1FDF6
#E4FCED
#C1FBD6
#90FDB9
#59FD96
#2ffc7b
#03F15B
#03C94C
#02A13D
#06742F
#04481D
Base = 500Lightest = 50 · #F1FDF6Darkest = 950 · #04481D
:root {
  --brand-50: #F1FDF6;
  --brand-100: #E4FCED;
  --brand-200: #C1FBD6;
  --brand-300: #90FDB9;
  --brand-400: #59FD96;
  --brand-500: #2ffc7b;
  --brand-600: #03F15B;
  --brand-700: #03C94C;
  --brand-800: #02A13D;
  --brand-900: #06742F;
  --brand-950: #04481D;
  --brand: #2ffc7b;
  --brand-ink: #000000;
}

Colors that work with #2ffc7b

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#F4FAF7
Tinted page background
Border#C0EDD0
Hairlines and dividers
Muted text#4B9B68
Captions on the surface
Accent#CC00B4
Second voice, not a rival
Dark variant#027E30
Hover, pressed, headers
Light variant#E6FFEF
Selected rows, tints
Dark surface#14241A
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 #2ffc7b

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#FC2FB0
Analogous left#49FC2F
Analogous right#2FFCE1
Split-complement 1#E12FFC
Split-complement 2#FC2F49
Triadic 1#7B2FFC
Triadic 2#FC7B2F
Tetradic#2F49FC

RGB percentages

Red18.4%
Green98.8%
Blue48.2%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow51.2%
Key (black)1.2%

Color previews

#2ffc7b text on a black background

contrast 15.33:1

Card sample

#2ffc7b text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ffc7b

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.

#2ffc7b 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.

#2ffc7b, answered

What color is #2ffc7b?

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

What is the RGB value of #2ffc7b?

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

Is #2ffc7b a light or a dark color?

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

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

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

What is the complementary color of #2ffc7b?

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

What colors go well with #2ffc7b?

For interface work: #F4FAF7 as the surface, #C0EDD0 for borders, #4B9B68 for secondary text, #CC00B4 as an accent and #027E30 for hover and pressed states. For a palette, the analogous pair #49FC2F and #2FFCE1 stays calm, while #FC2FB0 is the loudest partner.

What is #2ffc7b in CMYK for printing?

cmyk(81%, 0%, 51%, 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 #2ffc7b warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2FFC30; nudged cooler, #2DFEC7.

Work with #2ffc7b in the Color Lab