The Supporters Club teamed up with Tyne Bank Brewery from Newcastle and Brass Castle Brewery in Malton to produce a beer called "TyneCastle Hearty Ale".
Casks of the beer have since gone on sale in York, Newcastle and Edinburgh, and Brass Castle say the feedback has been overwhelmingly positive.
Ian Warner, York Hearts chairman, said: “We’re delighted to have been able to work with two fantastic breweries to produce this new beer and are very grateful to them for bringing the idea to fruition.”
The recipe was devised by Tyne Bank and brewed at Brass Castle's new brewery in Yorkersgate, Malton.
York Hearts has around 35 members living in or around York. Ten pence from each bottle or pint sold will go the Foundation of Hearts. To buy bottles of the beer, visit www.brasscastle.co.uk - the code "@thefoh" will provide a discount.
Ian Goodall from Brass Castle said: “It was an interesting concept when we were introduced to the idea, and we are always happy to help with this type of effort. If we get a great response to the bottled product we will happily look to brew it again and continue to donate to the Foundation of Hearts”.