Skip to content

#2ec02f

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

RGB
46, 192, 47
HSL
120°, 61%, 47%
CMYK
76, 0, 76, 25
Luminance
0.3849

At a glance

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

Hex
#2ec02f
Hue
120°
green
Saturation
61%
vivid
Lightness
47%
balanced
Brightness
75%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3849
WCAG relative
Temperature
Cool
63/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.70:1
Closest name
Lime Green
ΔE2000 3.4
Where it sits
Hue120° of 360°
Saturation61%
Lightness47%
Temperature
Warm ← → Cool63% 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#2ec02f
RGBrgb(46, 192, 47)
HSLhsl(120, 61%, 47%)
CMYKcmyk(76%, 0%, 76%, 25%)
LABlab(68.4 -63.9 58.2)
LCHlch(68.4 86.4 137.7)
OKLCHoklch(0.706 0.217 142.9)
Decimal3063855
Display P3color(display-p3 0.180 0.753 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ec02f on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#2ec02f on black: 8.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4AD0E
deuteranopia · #B4A23F
tritanopia · #00BAA4

Color scale — 50 to 950

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

#F4FBF4
#E8F7E8
#CCF0CC
#A5E9A5
#77DE78
#4AD44B
#2ec02f
#27A528
#208420
#1B601B
#113C11
Base = 600Lightest = 50 · #F4FBF4Darkest = 950 · #113C11
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E8F7E8;
  --brand-200: #CCF0CC;
  --brand-300: #A5E9A5;
  --brand-400: #77DE78;
  --brand-500: #4AD44B;
  --brand-600: #2ec02f;
  --brand-700: #27A528;
  --brand-800: #208420;
  --brand-900: #1B601B;
  --brand-950: #113C11;
  --brand: #2ec02f;
  --brand-ink: #000000;
}

Colors that work with #2ec02f

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#F4FAF4
Tinted page background
Border#C0EDC0
Hairlines and dividers
Muted text#4B9B4B
Captions on the surface
Accent#9F29C5
Second voice, not a rival
Dark variant#196719
Hover, pressed, headers
Light variant#EAFAEB
Selected rows, tints
Dark surface#142414
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 #2ec02f

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#C02EBF
Analogous left#76C02E
Analogous right#2EC078
Split-complement 1#782EC0
Split-complement 2#C02E76
Triadic 1#2F2EC0
Triadic 2#C02F2E
Tetradic#2E76C0

RGB percentages

Red18.0%
Green75.3%
Blue18.4%

CMYK percentages

Cyan76.0%
Magenta0.0%
Yellow75.5%
Key (black)24.7%

Color previews

#2ec02f text on a black background

contrast 8.70:1

Card sample

#2ec02f text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ec02f

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.

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

#2ec02f, answered

What color is #2ec02f?

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

What is the RGB value of #2ec02f?

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

Is #2ec02f a light or a dark color?

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

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

Black. It scores 8.70:1 against #2ec02f, versus 2.41:1 for white — AAA at any size.

What is the complementary color of #2ec02f?

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

What colors go well with #2ec02f?

For interface work: #F4FAF4 as the surface, #C0EDC0 for borders, #4B9B4B for secondary text, #9F29C5 as an accent and #196719 for hover and pressed states. For a palette, the analogous pair #76C02E and #2EC078 stays calm, while #C02EBF is the loudest partner.

What is #2ec02f in CMYK for printing?

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

Is #2ec02f warm or cool?

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

Work with #2ec02f in the Color Lab