[Problem] To provide: an oil or fat composition which has a low trans fatty acid content and can be used as a non-lauric and non-tempered hard butter and an oily food which comprises the oil or fat composition, has good heat resistance, and can be melted in the mouth satisfactorily.[Solution] The oil or fat composition according to the present invention is characterized by fulfilling the following requirements (a) to (g): (a) the X3 content is 3-20 mass% (b) the P3/X3 ratio is 0.35 or more by mass (c) the X2O content is 45-80 mass% (d) the XOX/X2O ratio is 0.20-0.65 by mass (e) the PStO/X2O ratio is 0.10-0.45 by mass (f) the St2O/X2O ratio is 0.05-0.35 by mass and (g) the St/P ratio is 0.80 or less by mass wherein X represents a saturated fatty acid having 14 or more carbon atoms, O represents oleic acid, P represents palmitic acid, and St represents stearic acid.La présente invention concerne une composition dhuile ou de graisse présentant une faible teneur en acides gras trans et pouvant être utilisée en tant que beurre dur non tempéré ne contenant pas dacide laurique. Linvention concerne également un produit alimentaire gras contenant ladite composition dhuile ou de graisse, présentant une bonne résistance à la chaleur et pouvant fondre dans la bouche de façon tout à fait satisfaisante.La composition dhuile ou de graisse selon la présente invention est caractérisée en ce quelle respecte les exigences (a) à (g) suivantes : (a) la teneur en X3 représente de 3 à 20 % en poids (b) le rapport P3/X3 est supérieur ou égal à 0,35 en poids (c) la teneur en X2O est égale à 45 à 80 % en poids (d) le rapport XOX/X2O est égal à 0,20 à 0,65 en poids (e) le rapport PStO/X2O est égal à 0,10 à 0,45 en poids (f) le rapport St2O/X2O est égal à 0,05 à 0,35 en poids et (g) le rapport St/P est inférieur ou égal à 0,80 en poids X représentant un acide gras saturé comportant au moins 14 atomes de carbone, O représentant lacide oléique, P lacide palmitique et St lacide stéarique.[