The song was written by Knowles , Sean Garrett , and Pharrell for Knowles 's second solo studio album , B'Day ( 2006 ) .
Green Light is an R&B \ / funk song written by Beyoncé Knowles , Sean Garrett , and Pharrell Williams for Knowles ' second solo studio album , B'Day ( 2006 ) .