From this NASA report:
The design range for temperature and humidity control in the Apollo Command Module was 294° to 300°K (70° to 80°F) [i.e., 21 to 27 °C] with a relative humidity of 40 to 70 percent. Similarly, the design range for the Lunar Module was 291° to 300°K (65° to 80°F) [i.e., 18 to 27 °C] with a relative humidity of 40 to 70 percent.
See also 'Table 1 Command Module Cabin Temperatures in °K (°F)' of this document with values for launch, average, range and reentry of all missions.
Crew comments indicated that the Command Module was uncomfortably cool during several missions, especially during sleep periods. These occurrences were not serious problems and crewmen compensated by increasing their clothing insulation.
During the Apollo 13 mission, the LM environmental control system provided a habitable environment for approximately 83 hours (57:45 to 141:05 ground elapsed time). Cabin temperature remained low due to low electrical power levels. This caused crew discomfort during much of this time, with cabin temperatures ranging between 283° and 286°K (49° and 55°F) [i.e., 10 to 13°C].