This study examines the green transition's effects on labor markets using a task-based framework to identify jobs with tasks that contribute, or with the potential to contribute, to the green transition. Analyzing data from Brazil, Colombia, South Africa, the United Kingdom, and the United States, we find that the proportion of workers in green jobs is similar across AEs and EMs, albeit with distinct occupational patterns: AE green job holders typically have higher education levels, whereas in EMs, they tend to have lower education levels. Despite these disparities, the distribution of green jobs across genders is similar across countries, with men occupying over two-thirds of these positions. Furthermore, green jobs are characterized by a wage premium and a narrower gender pay gap. Our research further studies the implications of AI for the expansion of green employment opportunities. This research advances our understanding of the interplay between green jobs, gender equity, and AI and provides valuable insights for promoting a more inclusive green transition.