A new method to achieve most luminous efficacy of LED mixing color is developed in this paper, and then algorithm simulation, samples design and validation of the results have been carried out. Compared with the traditional manual LED proportion calculation method, new LED proportion calculation method is optimized by artificial fish swarm algorithm (AFSA). As for AFSA with slow rate of convergence and low accuracy, opposition-based reinforcement learning and adaptive weight are introduced into AFSA. Then, the Matlab simulation is developed to verify the algorithm. Finally, actual samples are designed and tested. The simulation results show that the rate of convergence and accuracy are improved, this is a minor difference between the actual and calculation value, algorithm is feasible and the total solution achieves the goal.