How can I create a green material with a white line?

Hi!

How can I create a material with a white line? Like this:

In the above example there are two meshes with different material.

Thank you!