I am trying to use QGIS3.10 to analyze the area of forest within regions. It looks like this

where the polygons belongs to WFS layer and Rasters belongs to WMS layer.
The legends fo Raster suggests that the raster contains different catagories, looks like this

I would like to find the percentage of green areas in polygons based on percentage coverage info provided in Raster. I have tried converting raster to polygons (with no polygons outcome), raster zonal analysis (with error message) and Extract layer content (no desired outcome).
Can anyone suggest me a way to extract the data from it?
I have knowledge in Python, but I have no idea on how to handle this kind of data.
Dataset used in this case:
http://geo.stat.fi/geoserver/postialue/wfs -> Paavo-postinumeroalueet 2019 https://image.discomap.eea.europa.eu/arcgis/services/GioLandPublic/HRL_TreeCoverDensity_2015/MapServer/WMSServer -> Tree Cover Density 2015