#42A51C

Color Details

HEX
#42A51C
RGB
rgb(66, 165, 28)
HSL
hsl(103, 71%, 38%)
CMYK
cmyk(60%, 0%, 83%, 35%)
Best text on this color #000000 (CR 6.63:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #42A51C swatch

Embed this swatch

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

Open image

About #42A51C

#42A51C converts to RGB(66, 165, 28) and HSL(103, 71%, 38%). 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).

#42A51C FAQs

What is the RGB value of #42A51C?
RGB: 66, 165, 28. Copy as CSS: rgb(66, 165, 28)
Is #42A51C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #42A51C?
Complement: #7f1ca6.
Does #42A51C have good contrast on white or black?
On white: 3.17:1 (AA (large text)). On black: 6.63:1 (AA (normal text)).