In this work new homogenization results are used to introduce a methodology for the design of structural components made from composite materials in the presence of stress constraints. A numerical method is developed for finding functionally graded materials that provide the maximum torsional rigidity while keeping the mean square stress inside the composite structure below a prescribed level. Ó