#2A8F2D

Color Details

HEX
#2A8F2D
RGB
rgb(42, 143, 45)
HSL
hsl(122, 55%, 36%)
CMYK
cmyk(71%, 0%, 69%, 44%)
Best text on this color #000000 (CR 5.07:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A8F2D swatch

Embed this swatch

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

Open image

About #2A8F2D

#2A8F2D converts to RGB(42, 143, 45) and HSL(122, 55%, 36%). 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).

#2A8F2D FAQs

What is the RGB value of #2A8F2D?
RGB: 42, 143, 45. Copy as CSS: rgb(42, 143, 45)
Is #2A8F2D a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A8F2D?
Complement: #8e298b.
Does #2A8F2D have good contrast on white or black?
On white: 4.15:1 (AA (large text)). On black: 5.07:1 (AA (normal text)).