#2A8C2F

Color Details

HEX
#2A8C2F
RGB
rgb(42, 140, 47)
HSL
hsl(123, 54%, 36%)
CMYK
cmyk(70%, 0%, 66%, 45%)
Best text on this color #000000 (CR 4.89:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A8C2F swatch

Embed this swatch

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

Open image

About #2A8C2F

#2A8C2F converts to RGB(42, 140, 47) and HSL(123, 54%, 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).

#2A8C2F FAQs

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