Skip to content

#2fe77f

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

RGB
47, 231, 127
HSL
146°, 79%, 55%
CMYK
80, 0, 45, 9
Luminance
0.5929

At a glance

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

Hex
#2fe77f
Hue
146°
green
Saturation
79%
electric
Lightness
55%
balanced
Brightness
91%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5929
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.86:1
Closest name
Medium Spring Green
ΔE2000 4.8
Where it sits
Hue146° of 360°
Saturation79%
Lightness55%
Temperature
Warm ← → Cool73% 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#2fe77f
RGBrgb(47, 231, 127)
HSLhsl(146, 79%, 55%)
CMYKcmyk(80%, 0%, 45%, 9%)
LABlab(81.5 -66.6 38.2)
LCHlch(81.5 76.8 150.1)
OKLCHoklch(0.818 0.202 152.3)
Decimal3139455
Display P3color(display-p3 0.184 0.906 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fe77f on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#2fe77f on black: 12.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7D377
deuteranopia · #D3C586
tritanopia · #00E4CE

Color scale — 50 to 950

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

#F3FCF7
#E6F9EE
#C7F5DB
#9AF3C1
#68EEA2
#2fe77f
#19DB6E
#15B75B
#119249
#116A37
#0A4223
Base = 500Lightest = 50 · #F3FCF7Darkest = 950 · #0A4223
:root {
  --brand-50: #F3FCF7;
  --brand-100: #E6F9EE;
  --brand-200: #C7F5DB;
  --brand-300: #9AF3C1;
  --brand-400: #68EEA2;
  --brand-500: #2fe77f;
  --brand-600: #19DB6E;
  --brand-700: #15B75B;
  --brand-800: #119249;
  --brand-900: #116A37;
  --brand-950: #0A4223;
  --brand: #2fe77f;
  --brand-ink: #000000;
}

Colors that work with #2fe77f

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#C0EDD3
Hairlines and dividers
Muted text#4B9B6E
Captions on the surface
Accent#EC2AC8
Second voice, not a rival
Dark variant#0D7239
Hover, pressed, headers
Light variant#E8FCF1
Selected rows, tints
Dark surface#14241B
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 #2fe77f

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#E72F97
Analogous left#3BE72F
Analogous right#2FE7DB
Split-complement 1#DB2FE7
Split-complement 2#E72F3B
Triadic 1#7F2FE7
Triadic 2#E77F2F
Tetradic#2F3BE7

RGB percentages

Red18.4%
Green90.6%
Blue49.8%

CMYK percentages

Cyan79.7%
Magenta0.0%
Yellow45.0%
Key (black)9.4%

Color previews

#2fe77f text on a black background

contrast 12.86:1

Card sample

#2fe77f text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fe77f

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.

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

#2fe77f, answered

What color is #2fe77f?

#2fe77f is a balanced electric green, closest to Medium Spring Green (ΔE2000 4.8). It sits at 146° on the hue wheel with 79% saturation and 55% lightness, which reads as cool.

What is the RGB value of #2fe77f?

rgb(47, 231, 127) — 47 red, 231 green and 127 blue out of 255, or 18.4% / 90.6% / 49.8% by channel.

Is #2fe77f a light or a dark color?

It is a light color. Relative luminance is 0.5929 and perceived brightness is 72%, so black text on it reaches 12.86:1.

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

Black. It scores 12.86:1 against #2fe77f, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #2fe77f?

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

What colors go well with #2fe77f?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6E for secondary text, #EC2AC8 as an accent and #0D7239 for hover and pressed states. For a palette, the analogous pair #3BE72F and #2FE7DB stays calm, while #E72F97 is the loudest partner.

What is #2fe77f in CMYK for printing?

cmyk(80%, 0%, 45%, 9%). 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 #2fe77f warm or cool?

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

Work with #2fe77f in the Color Lab