I will upload a video soon that explains in more detail.
Basically, all three colors must be used. Yellow traces the edge of the subject but also keeps red from green. Meaning, in order for red to reach green, it would have to cross the yellow line. If you can go around the yellow line it won't render.