#2A8C1F
Color Details
HEX
#2A8C1F
RGB
rgb(42, 140, 31)
HSL
hsl(114, 64%, 34%)
CMYK
cmyk(70%, 0%, 78%, 45%)
Best text on this color
#000000 (CR 4.87:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2A8C1F
#2A8C1F converts to RGB(42, 140, 31) and HSL(114, 64%, 34%). 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).
#2A8C1F FAQs
What is the RGB value of #2A8C1F?
RGB: 42, 140, 31. Copy as CSS:
rgb(42, 140, 31)
Is #2A8C1F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A8C1F?
Complement: #831f8e.
Does #2A8C1F have good contrast on white or black?
On white: 4.31:1 (AA (large text)).
On black: 4.87:1 (AA (normal text)).