Illumination is one of the most important environmental factors in the classroom. Researchers have discovered that lighting settings have significant impact on students’ performance. Although light-emitting diode (LED) lighting systems can precisely control brightness level and correlated color temperature (CCT), existing designs of LED lighting control systems for classrooms are focused on energy-saving but lack context-based illumination control ability. In this study, a smart lighting system with continuous evolution capability was developed. It can adjust brightness, CCT, and illuminance distribution dynamically according to specific learning context. This system allows not only manual control, but also automatic switching of scenes by integrating with school schedules. Based on existing knowledge about lighting preference, 10 lighting modes confined in the comfortable zone of Kruithof curve were proposed for various classroom scenarios. Moreover, a classroom environmental data-processing framework for collecting and analyzing learning context, illumination settings, environmental data, and students’ performance data was introduced. This framework can help researchers explore the correlation between student performance and environmental parameters.