The renewable energy potential of coastal areas of Tamil Nadu, India ranks along with the utmost in the world. This study proposes optimization and cost of energy of different hybrid renewable energy system to power a health clinic in that building. The National Renewable Energy Laboratory (NREL) optimization computer model for distributed power, "HOMER," is used to estimate the optimization and its cost of energy. The implementation of RE systems to supply Rural Health Clinics will contribute to reduce both electricity generation cost and to reduce the consumption of fuel while improving health care and quality of life in these isolated coastal regions. We conclude that using the PV+Wind+Diesel+Battery system for these types of applications in justified on technical and economic grounds. The experimental results show that the least cost of energy at Rs 5.00/KWh, is obtained from above said system and also experiment result shows that the COE decreases with 0% of interest. It is noted, that the PV+Wind+Diesel+Battery hybrid system shows the lowest COE and high amount of Renewable energy.