Chromatin reader component of the ATAC complex, a complex with histone acetyltransferase activity on histones H3 and H4. YEATS2 specifically recognizes and binds histone H3 crotonylated at 'Lys-27' (H3K27cr). Crotonylation marks active promoters and enhancers and confers resistance to transcriptional repressors. Component of the ADA2A-containing complex (ATAC), composed of KAT14, KAT2A, TADA2L, TADA3L, ZZ3, MBIP, WDR5, YEATS2, SGF29 and DR1. The YEATS domain specifically recognizes and binds crotonylated histones. The sequence differs from that shown because it is derived from pre-RNA.