One method would be to isolate the color channel(green) that is predominant in the hat and then use the effect Channel ->Set Matte to green channel. Adding some levels effects before and after also helps to isolate the color a little more.
You may have to use a mask/tracking afterwards to remove unwanted stuff in the alpha channel. Here’s a quick example project: 4072_creatingalpha.zip
Also, if you just want something to show up in there, place a copy of that layer on top. Put what you want to be in the yellow on bottom and change the transfer mode of the top layer to saturation.
Johnny Cuevas, Editor
Thinkck.com
“I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
—THOMAS EDISON on inventing the light bulb.