Skip to content

#2eb72a

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

RGB
46, 183, 42
HSL
118°, 63%, 44%
CMYK
75, 0, 77, 28
Luminance
0.3461

At a glance

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

Hex
#2eb72a
Hue
118°
green
Saturation
63%
vivid
Lightness
44%
dark
Brightness
72%
HSV value
Perceived
56%
weighted brightness
Luminance
0.3461
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.92:1
Closest name
Lime Green
ΔE2000 5.8
Where it sits
Hue118° of 360°
Saturation63%
Lightness44%
Temperature
Warm ← → Cool62% 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#2eb72a
RGBrgb(46, 183, 42)
HSLhsl(118, 63%, 44%)
CMYKcmyk(75%, 0%, 77%, 28%)
LABlab(65.5 -61.4 57.0)
LCHlch(65.5 83.8 137.1)
OKLCHoklch(0.682 0.210 142.5)
Decimal3061546
Display P3color(display-p3 0.180 0.718 0.165)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2eb72a on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#2eb72a on black: 7.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBA505
deuteranopia · #AC9B3A
tritanopia · #00B19C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2eb72a 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
#E9F7E8
#CDF0CC
#A6EAA4
#79E076
#4CD548
#2eb72a
#2AA626
#21851E
#1C611A
#113C10
Base = 600Lightest = 50 · #F4FBF4Darkest = 950 · #113C10
:root {
  --brand-50: #F4FBF4;
  --brand-100: #E9F7E8;
  --brand-200: #CDF0CC;
  --brand-300: #A6EAA4;
  --brand-400: #79E076;
  --brand-500: #4CD548;
  --brand-600: #2eb72a;
  --brand-700: #2AA626;
  --brand-800: #21851E;
  --brand-900: #1C611A;
  --brand-950: #113C10;
  --brand: #2eb72a;
  --brand-ink: #000000;
}

Colors that work with #2eb72a

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#C1EDC0
Hairlines and dividers
Muted text#4D9B4B
Captions on the surface
Accent#9225BB
Second voice, not a rival
Dark variant#1A6818
Hover, pressed, headers
Light variant#EBFAEA
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 #2eb72a

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#B32AB7
Analogous left#74B72A
Analogous right#2AB76C
Split-complement 1#6C2AB7
Split-complement 2#B72A74
Triadic 1#2A2EB7
Triadic 2#B72A2E
Tetradic#2A74B7

RGB percentages

Red18.0%
Green71.8%
Blue16.5%

CMYK percentages

Cyan74.9%
Magenta0.0%
Yellow77.0%
Key (black)28.2%

Color previews

#2eb72a text on a black background

contrast 7.92:1

Card sample

#2eb72a text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2eb72a

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.

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

#2eb72a, answered

What color is #2eb72a?

#2eb72a is a dark vivid green, closest to Lime Green (ΔE2000 5.8). It sits at 118° on the hue wheel with 63% saturation and 44% lightness, which reads as cool.

What is the RGB value of #2eb72a?

rgb(46, 183, 42) — 46 red, 183 green and 42 blue out of 255, or 18% / 71.8% / 16.5% by channel.

Is #2eb72a a light or a dark color?

It is a mid-tone. Relative luminance is 0.3461 and perceived brightness is 56%, so black text on it reaches 7.92:1.

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

Black. It scores 7.92:1 against #2eb72a, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #2eb72a?

#B32AB7 sits directly opposite on the wheel. Softer options are the split-complements #6C2AB7 and #B72A74, which give the same contrast with far less vibration.

What colors go well with #2eb72a?

For interface work: #F4FAF4 as the surface, #C1EDC0 for borders, #4D9B4B for secondary text, #9225BB as an accent and #1A6818 for hover and pressed states. For a palette, the analogous pair #74B72A and #2AB76C stays calm, while #B32AB7 is the loudest partner.

What is #2eb72a in CMYK for printing?

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

Is #2eb72a warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #62B72A; nudged cooler, #28B959.

Work with #2eb72a in the Color Lab