A composition comprising a refrigerant comprising trans-1,2-difluoroethylene (HFO-1132), trifluoroethylene (HFO-1123), 2,3,3,3-tetrafluoro-1-propene (R1234yf) and difluoromethane in a total amount of ≥ 99.5 mass%, based on the entire refrigerant, wherein when the mass% of HFO-1132, HFO-1123, R1234yf, and R32 based on their sum in the refrigerant is respectively represented by x, y, z, and a, the coordinates (x,y,z) in a ternary composition diagram in which the sum of HFO-1132, HFO-1123, and R1234yf is (100-a) mass% are within the following ranges: if 0<a≤11.1: within the range of a figure surrounded by straight lines GI, IA, AB, BD', D'C, and CG connecting the points G, I, A, B, D' and C: G (0.026a 2 -1.7478a+72.0, -0.026a 2 +0.7478a+28.0, 0.0), I (0.026a 2 -1.7478a+72.0, 0.0, -0.026a 2 +0.7478a+28.0), A (0.0134a 2 -1.9681a+68.6, 0.0, -0.0134a 2 +0.9681a+31.4), B (0.0, 0.0144a 2 -1.6377a+58.7, -0.0144a 2 +0.6377a+41.3), D' (0.0, 0.0224a 2 +0.968a+75.4, -0.0224a 2 -1.968a+24.6), and C (-0.2304a 2 -0.4062a+32.9, 0.2304a 2 -0.5938a+67.1, 0.0), or on the straight lines GI, AB, and D'C (excluding points G, I, A, B, D' and C); if 11.1<a≤18.2: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.02a 2 -1.6013a+71.105, -0.02a 2 +0.6013a+28.895, 0.0), I (0.02a 2 -1.6013a+71.105, 0.0, -0.02a 2 +0.6013a+28.895), A (0.0112a 2 -1.9337a+68.484, 0.0, -0.0112a 2 +0.9337a+31.516), B (0.0, 0.0075a 2 -1.5156a+58.199, -0.0075a 2 +0.5156a+41.801), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); if 18.2<a≤26.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0135a 2 -1.4068a+69.727, -0.0135a 2 +0.4068a+30.273, 0.0), I (0.0135a 2 -1.4068a+69.727, 0.0, -0.0135a 2 +0.4068a+30.273), A (0.0107a 2 -1.9142a+68.305, 0.0, -0.0107a 2 +0.9142a+31.695), B (0.0, 0.009a 2 -1.6045a+59.318, -0.009a 2 +0.6045a+40.682), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); if 26.7<a≤36.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0111a 2 -1.3152a+68.986, -0.0111a 2 +0.3152a+31.014, 0.0), I (0.0111a 2 -1.3152a+68.986, 0.0, -0.0111a 2 +0.3152a+31.014), A (0.0103a 2 -1.9225a+68.793, 0.0, -0.0103a 2 +0.9225a+31.207), B (0.0, 0.0046a 2 -1.41a+57.286, -0.0046a 2 +0.41a+42.714), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); and if 36.7<a≤46.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0061a 2 -0.9918a+63.902, -0.0061a 2 -0.0082a+36.098, 0.0), I (0.0061a 2 -0.9918a+63.902, 0.0, -0.0061a 2 -0.0082a+36.098), A (0.0085a 2 -1.8102a+67.1, 0.0, -0.0085a 2 +0.8102a+32.9), B (0.0, 0.0012a 2 -1.1659a+52.95, -0.0012a 2 +0.1659a+47.05), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W). if 0<a≤11.1: within the range of a figure surrounded by straight lines GI, IA, AB, BD', D'C, and CG connecting the points G, I, A, B, D' and C: G (0.026a 2 -1.7478a+72.0, -0.026a 2 +0.7478a+28.0, 0.0), I (0.026a 2 -1.7478a+72.0, 0.0, -0.026a 2 +0.7478a+28.0), A (0.0134a 2 -1.9681a+68.6, 0.0, -0.0134a 2 +0.9681a+31.4), B (0.0, 0.0144a 2 -1.6377a+58.7, -0.0144a 2 +0.6377a+41.3), D' (0.0, 0.0224a 2 +0.968a+75.4, -0.0224a 2 -1.968a+24.6), and C (-0.2304a 2 -0.4062a+32.9, 0.2304a 2 -0.5938a+67.1, 0.0), or on the straight lines GI, AB, and D'C (excluding points G, I, A, B, D' and C); if 11.1<a≤18.2: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.02a 2 -1.6013a+71.105, -0.02a 2 +0.6013a+28.895, 0.0), I (0.02a 2 -1.6013a+71.105, 0.0, -0.02a 2 +0.6013a+28.895), A (0.0112a 2 -1.9337a+68.484, 0.0, -0.0112a 2 +0.9337a+31.516), B (0.0, 0.0075a 2 -1.5156a+58.199, -0.0075a 2 +0.5156a+41.801), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); if 18.2<a≤26.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0135a 2 -1.4068a+69.727, -0.0135a 2 +0.4068a+30.273, 0.0), I (0.0135a 2 -1.4068a+69.727, 0.0, -0.0135a 2 +0.4068a+30.273), A (0.0107a 2 -1.9142a+68.305, 0.0, -0.0107a 2 +0.9142a+31.695), B (0.0, 0.009a 2 -1.6045a+59.318, -0.009a 2 +0.6045a+40.682), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); if 26.7<a≤36.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0111a 2 -1.3152a+68.986, -0.0111a 2 +0.3152a+31.014, 0.0), I (0.0111a 2 -1.3152a+68.986, 0.0, -0.0111a 2 +0.3152a+31.014), A (0.0103a 2 -1.9225a+68.793, 0.0, -0.0103a 2 +0.9225a+31.207), B (0.0, 0.0046a 2 -1.41a+57.286, -0.0046a 2 +0.41a+42.714), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W); and if 36.7<a≤46.7: within the range of a figure surrounded by straight lines GI, IA, AB, BW, and WG connecting the points G, I, A, B and W: G (0.0061a 2 -0.9918a+63.902, -0.0061a 2 -0.0082a+36.098, 0.0), I (0.0061a 2 -0.9918a+63.902, 0.0, -0.0061a 2 -0.0082a+36.098), A (0.0085a 2 -1.8102a+67.1, 0.0, -0.0085a 2 +0.8102a+32.9), B (0.0, 0.0012a 2 -1.1659a+52.95, -0.0012a 2 +0.1659a+47.05), and W (0.0, 100.0-a, 0.0), or on the straight lines GI and AB (excluding points G, I, A, B and W).