In a large pot, heat the olive oil over medium heat.
Add the diced onion and sauté for about 5 minutes until soft and translucent.
Stir in the minced garlic, diced carrots, and celery; cook for an additional 5 minutes, stirring occasionally.
Sprinkle in the dried thyme and rosemary, mixing well to combine.
Pour in the vegetable broth and add the white beans. Bring the mixture to a boil, then reduce the heat and let it simmer for 15 minutes.
Using an immersion blender, blend the soup until smooth. (Alternatively, you can carefully transfer half the soup to a blender, blend, and return to the pot.)
Stir in the coconut milk and chopped kale. Cook for another 5 minutes until the kale is wilted.
Add the lemon juice and season with salt, pepper, and red pepper flakes if using. Adjust seasonings to your taste.
Serve hot, garnished with fresh parsley on top.
Notes
Use heavy cream instead of coconut milk for a non-vegan option.