#2AB21C

Color Details

HEX
#2AB21C
RGB
rgb(42, 178, 28)
HSL
hsl(114, 73%, 40%)
CMYK
cmyk(76%, 0%, 84%, 30%)
Best text on this color #000000 (CR 7.48:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2AB21C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2AB21C

#2AB21C converts to RGB(42, 178, 28) and HSL(114, 73%, 40%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2AB21C FAQs

What is the RGB value of #2AB21C?
RGB: 42, 178, 28. Copy as CSS: rgb(42, 178, 28)
Is #2AB21C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2AB21C?
Complement: #a21cb0.
Does #2AB21C have good contrast on white or black?
On white: 2.81:1 (Fails AA). On black: 7.48:1 (AAA (normal text)).