#2B7D0C
Color Details
HEX
#2B7D0C
RGB
rgb(43, 125, 12)
HSL
hsl(104, 82%, 27%)
CMYK
cmyk(66%, 0%, 90%, 51%)
Best text on this color
#FFFFFF (CR 5.20:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2B7D0C
#2B7D0C converts to RGB(43, 125, 12) and HSL(104, 82%, 27%). 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).
#2B7D0C FAQs
What is the RGB value of #2B7D0C?
RGB: 43, 125, 12. Copy as CSS:
rgb(43, 125, 12)
Is #2B7D0C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2B7D0C?
Complement: #5f0c7d.
Does #2B7D0C have good contrast on white or black?
On white: 5.20:1 (AA (normal text)).
On black: 4.04:1 (AA (large text)).