#2E7D1F

Color Details

HEX
#2E7D1F
RGB
rgb(46, 125, 31)
HSL
hsl(110, 60%, 31%)
CMYK
cmyk(63%, 0%, 75%, 51%)
Best text on this color #FFFFFF (CR 5.16:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2E7D1F swatch

Embed this swatch

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

Open image

About #2E7D1F

#2E7D1F converts to RGB(46, 125, 31) and HSL(110, 60%, 31%). 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).

#2E7D1F FAQs

What is the RGB value of #2E7D1F?
RGB: 46, 125, 31. Copy as CSS: rgb(46, 125, 31)
Is #2E7D1F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2E7D1F?
Complement: #6f207e.
Does #2E7D1F have good contrast on white or black?
On white: 5.16:1 (AA (normal text)). On black: 4.07:1 (AA (large text)).