The present invention relates generally to a light transmitting device and a total internal reflection lens with base. In one embodiment, the total internal reflection lens includes a light output portion and a first base coupled to the light output portion. The first base includes a cavity for receiving a light emitting diode (LED) and an undercut adjacent to the cavity.