i am a number less than 40.one of my factors is 3 the sum of my digits is 12

what number am i

3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39

Which of those numbers fits the clue?