Skip to content

#2eb40a

a dark, electric green · neutral · closest name: Lime Green

RGB
46, 180, 10
HSL
107°, 90%, 37%
CMYK
74, 0, 94, 29
Luminance
0.3325

At a glance

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

Hex
#2eb40a
Hue
107°
green
Saturation
90%
electric
Lightness
37%
dark
Brightness
71%
HSV value
Perceived
55%
weighted brightness
Luminance
0.3325
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.65:1
Closest name
Lime Green
ΔE2000 6.8
Where it sits
Hue107° of 360°
Saturation90%
Lightness37%
Temperature
Warm ← → Cool57% cool

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

Every format

HEX#2eb40a
RGBrgb(46, 180, 10)
HSLhsl(107, 90%, 37%)
CMYKcmyk(74%, 0%, 94%, 29%)
LABlab(64.4 -61.9 63.4)
LCHlch(64.4 88.6 134.3)
OKLCHoklch(0.673 0.218 140.9)
Decimal3060746
Display P3color(display-p3 0.180 0.706 0.039)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2eb40a on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#2eb40a on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9A200
deuteranopia · #AA9829
tritanopia · #00AE99

Color scale — 50 to 950

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

#F4FDF2
#E9FBE5
#CFF8C3
#AAF995
#7FF660
#55F32A
#3BE80D
#2eb40a
#279B09
#20700B
#144607
Base = 700Lightest = 50 · #F4FDF2Darkest = 950 · #144607
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E9FBE5;
  --brand-200: #CFF8C3;
  --brand-300: #AAF995;
  --brand-400: #7FF660;
  --brand-500: #55F32A;
  --brand-600: #3BE80D;
  --brand-700: #2eb40a;
  --brand-800: #279B09;
  --brand-900: #20700B;
  --brand-950: #144607;
  --brand: #2eb40a;
  --brand-ink: #000000;
}

Colors that work with #2eb40a

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#F6FAF4
Tinted page background
Border#C9EDC0
Hairlines and dividers
Muted text#5C9B4B
Captions on the surface
Accent#6606B8
Second voice, not a rival
Dark variant#1F7907
Hover, pressed, headers
Light variant#ECFEE7
Selected rows, tints
Dark surface#172414
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 #2eb40a

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#900AB4
Analogous left#83B40A
Analogous right#0AB43B
Split-complement 1#3B0AB4
Split-complement 2#B40A83
Triadic 1#0A2EB4
Triadic 2#B40A2E
Tetradic#0A83B4

RGB percentages

Red18.0%
Green70.6%
Blue3.9%

CMYK percentages

Cyan74.4%
Magenta0.0%
Yellow94.4%
Key (black)29.4%

Color previews

#2eb40a text on a black background

contrast 7.65:1

Card sample

#2eb40a text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2eb40a

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.

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

#2eb40a, answered

What color is #2eb40a?

#2eb40a is a dark electric green, closest to Lime Green (ΔE2000 6.8). It sits at 107° on the hue wheel with 90% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #2eb40a?

rgb(46, 180, 10) — 46 red, 180 green and 10 blue out of 255, or 18% / 70.6% / 3.9% by channel.

Is #2eb40a a light or a dark color?

It is a mid-tone. Relative luminance is 0.3325 and perceived brightness is 55%, so black text on it reaches 7.65:1.

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

Black. It scores 7.65:1 against #2eb40a, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #2eb40a?

#900AB4 sits directly opposite on the wheel. Softer options are the split-complements #3B0AB4 and #B40A83, which give the same contrast with far less vibration.

What colors go well with #2eb40a?

For interface work: #F6FAF4 as the surface, #C9EDC0 for borders, #5C9B4B for secondary text, #6606B8 as an accent and #1F7907 for hover and pressed states. For a palette, the analogous pair #83B40A and #0AB43B stays calm, while #900AB4 is the loudest partner.

What is #2eb40a in CMYK for printing?

cmyk(74%, 0%, 94%, 29%). 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 #2eb40a warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6CB40A; nudged cooler, #08B623.

Work with #2eb40a in the Color Lab