Is there any way to turn off the CPU fan when the CPU temperature is below a certain value?

At the moment, the fan is always running (around 4000rpm on fast, 3000 on slow) even if i go in to the bios and choose the quiet feature with a target value of 50C (the CPU averages 36C)