Maroon Colors  ·  Color Library

Palettes / Colors / #2EC021

#2EC021 — Green

#2EC021 is a green color we call Green, closest to the named color ForestGreen (#228B22). It belongs to the green family.

Color name

Closest CSS keyword: forestgreen (#228B22) — not an exact match. CSS forestgreen gives you #228B22, a different color; use #2EC021 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#2EC021 is a warm-leaning green color associated with growth, calm and balance. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #B321C0; it also sits naturally between #7DC021 and #21C063. In the palettes below you can see it working alongside real color combinations from our collection.

#2EC021 · RGB 46, 192, 33

Download PNG swatch SVG

Color values

HEX#2EC021
RGB46, 192, 33
HSL115°, 71%, 44%
HSV115°, 83%, 75%
CMYK76%, 0%, 83%, 25%
XYZ20.25, 38.39, 7.78
Yxy38.39, 0.3049, 0.5780
CIE-Lab68.31, -64.76, 62.36
Hunter Lab61.96, -47.52, 33.80

RGB & CMYK percentages

Red 18% · Green 75% · Blue 13%

Cyan 76% · Magenta 0% · Yellow 83% · Key 25%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #2EC021 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #2EC021 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #2EC021

.text { color: #2EC021; }
.background { background-color: #2EC021; }
.border { border: 3px solid #2EC021; }
.text-rgb { color: rgb(46, 192, 33); }
.text-hsl { color: hsl(115, 71%, 44%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2EC021; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(46, 192, 33, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2EC021; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(46, 192, 33, 0.8); }

HTML: <p style="color:#2EC021">Text here</p> · <div style="background-color:#2EC021">Div content here</div>

Shades of #2EC021

#2AAE1E#259D1B#218C18#1D7A15#196912#15570F#11460C#0C3409#082306#041103

Tints of #2EC021

#33D624#44DD36#5DE151#71E566#85E97C#9AED92#AEF0A8#C6F5C2#DAF8D8#EFFCEE

Tones of #2EC021

#37B52C#41A937#4A9E42#54924F#5E875A#677B65

Color harmonies

Complementary — #B321C0:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.42:1 Fails
Against black text8.68:1 AAA

Best text color on #2EC021: #000000.

Semi-transparent (opacity) text on #2EC021

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #2EC021: ·

How #2EC021 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #6D6F47Deuteranopia · #655A51Tritanopia · #35666D

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind green 600 · #16A34AMaterial Green 500 · #4CAF50Tailwind green 500 · #22C55E

Palettes with a similar color

These palettes use a close neighbour of #2EC021 rather than the exact color:

Silent Ruby Tempest
#2EC11D · #3B4DE2 · #E34354 · #CFF3D1
Tender Ruby Whisper
#55DA53 · #2CC02A · #22A720 · #1A7618
Royal Ruby Dusk
#38C11F · #203BC9 · #C6203A · #D2EFC4
Mellow Solace
#811D8D · #DB4FD4 · #37C127 · #BAE8AC
Frozen Harbor
#9AEA8A · #76E160 · #33BF17 · #184F0D
Tranquil Whisper
#34C12B · #2EDC77 · #2DE4D3 · #217AB2

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#2EC11D#2CC02A#38C11F#37C127#33BF17#34C12B#33B81A#2CCC24#25B521#20BE1E#26C616#20C41E

Browse neighbouring colors

← #2EC020  ·  #2EC022 →

Frequently asked questions

What color is #2EC021?

#2EC021 is Green, a green color (RGB 46, 192, 33). Its closest standard named color is ForestGreen.

What is the RGB and HSL of #2EC021?

#2EC021 is RGB 46, 192, 33 — HSL 115°, 71%, 44% — CMYK 76%, 0%, 83%, 25%.

What colors go with #2EC021?

Its complement is #B321C0; analogous partners are #7DC021 and #21C063. It also appears in 6+ palettes in our collection.

Can I use #2EC021 for text?

Black text on #2EC021 has a contrast ratio of 8.68:1 (passes WCAG AA); white text gives 2.42:1.