Skip to content

#2ec047

a balanced, vivid green · cool · closest name: Lime Green

RGB
46, 192, 71
HSL
130°, 61%, 47%
CMYK
76, 0, 63, 25
Luminance
0.3874

At a glance

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

Hex
#2ec047
Hue
130°
green
Saturation
61%
vivid
Lightness
47%
balanced
Brightness
75%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3874
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.75:1
Closest name
Lime Green
ΔE2000 4.5
Where it sits
Hue130° of 360°
Saturation61%
Lightness47%
Temperature
Warm ← → Cool67% 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#2ec047
RGBrgb(46, 192, 71)
HSLhsl(130, 61%, 47%)
CMYKcmyk(76%, 0%, 63%, 25%)
LABlab(68.6 -61.7 49.0)
LCHlch(68.6 78.8 141.5)
OKLCHoklch(0.709 0.202 145.4)
Decimal3063879
Display P3color(display-p3 0.180 0.753 0.278)

Copy-ready code

/* CSS */
color: #2ec047;
background-color: #2ec047;
/* Tailwind (arbitrary) */
class="text-[#2ec047] bg-[#2ec047]"
/* SCSS */
$brand: #2ec047;
/* SwiftUI */
Color(red: 0.180, green: 0.753, blue: 0.278)
/* Android */
Color.parseColor("#2ec047")
/* Flutter */
Color(0xFF2EC047)
/* Python / OpenCV (BGR) */
(71, 192, 46)

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 #2ec047 · 8.75:1
Use #000000AAA at every size.
Aa
White text · 2.40:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.75:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2ec047 as text scores 2.40:1 on white and 8.75:1 on black.

Accessibility — WCAG contrast

Aa
#2ec047 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#2ec047 on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3AE39
deuteranopia · #B3A352
tritanopia · #00BBA6

Color scale — 50 to 950

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

#F4FBF5
#E8F7EB
#CCF0D2
#A5E9B0
#77DE89
#4AD462
#2ec047
#27A53D
#208431
#1B6027
#113C18
Base = 600Lightest = 50 · #F4FBF5Darkest = 950 · #113C18
:root {
  --brand-50: #F4FBF5;
  --brand-100: #E8F7EB;
  --brand-200: #CCF0D2;
  --brand-300: #A5E9B0;
  --brand-400: #77DE89;
  --brand-500: #4AD462;
  --brand-600: #2ec047;
  --brand-700: #27A53D;
  --brand-800: #208431;
  --brand-900: #1B6027;
  --brand-950: #113C18;
  --brand: #2ec047;
  --brand-ink: #000000;
}

Colors that work with #2ec047

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B58
Captions on the surface
Accent#B929C5
Second voice, not a rival
Dark variant#196726
Hover, pressed, headers
Light variant#EAFAED
Selected rows, tints
Dark surface#142417
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 #2ec047

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#C02EA7
Analogous left#5EC02E
Analogous right#2EC090
Split-complement 1#902EC0
Split-complement 2#C02E5E
Triadic 1#472EC0
Triadic 2#C0472E
Tetradic#2E5EC0

RGB percentages

Red18.0%
Green75.3%
Blue27.8%

CMYK percentages

Cyan76.0%
Magenta0.0%
Yellow63.0%
Key (black)24.7%

Color previews

#2ec047 text on a black background

contrast 8.75:1

Card sample

#2ec047 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 192, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 192, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ec047;
background: linear-gradient(135deg, #2ec047, #2EC0A8);

Monochromatic scale

Palettes built from #2ec047

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.

#2ec047 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

Converts to four-color process without much drama. Proof it anyway.

#2ec047, answered

What color is #2ec047?

#2ec047 is a balanced vivid green, closest to Lime Green (ΔE2000 4.5). It sits at 130° on the hue wheel with 61% saturation and 47% lightness, which reads as cool.

What is the RGB value of #2ec047?

rgb(46, 192, 71) — 46 red, 192 green and 71 blue out of 255, or 18% / 75.3% / 27.8% by channel.

Is #2ec047 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3874 and perceived brightness is 59%, so black text on it reaches 8.75:1.

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

Black. It scores 8.75:1 against #2ec047, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #2ec047?

#C02EA7 sits directly opposite on the wheel. Softer options are the split-complements #902EC0 and #C02E5E, which give the same contrast with far less vibration.

What colors go well with #2ec047?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #B929C5 as an accent and #196726 for hover and pressed states. For a palette, the analogous pair #5EC02E and #2EC090 stays calm, while #C02EA7 is the loudest partner.

What is #2ec047 in CMYK for printing?

cmyk(76%, 0%, 63%, 25%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2ec047 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4BC02E; nudged cooler, #2CC27D.

Work with #2ec047 in the Color Lab