The electronic properties of pyramidal CdTe/ZnTe quantum dots were studied using an eightband strain-dependent k·p Hamiltonian. A model based on the finite element method and the theory of elasticity of solids were used to show that the temperature-dependent photoluminescence measurement of the interband transition energies from the ground electronic subband to the ground heavy-hole subband reasonably explains the experimental data. We find that the interband transition energy decreases with increasing wetting layer thickness, regardless of the temperature of the QD, while the interband transition energies decrease with increasing temperature. We conclude that the wetting layer is an important structural element for predicting the electronic properties of CdTe/ZnTe QDs.