You can view the nutrition info for any vegetable in the USDA food database here: https://fdc.nal.usda.gov/index.html
For most vegetables, the majority of the calories come from carbohydrates.