@kate just discovered it, very impressive!
Did you use HSL and then adjust luminance by hand? I wonder if LCH or OKLCH is easier to use for this sort of stuff, as its L component already corresponds to the perceived light.
Colour picker: https://oklch.com/#70,0.1,77,100
About OKLCH in CSS: https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
@kytta I choose the lightest (yellow) and darkest (burgundy) colours, interpolated between them in the HCL colour space, and then adjusted them to 12-bit RGB colours while ensuring the HCL differences between neighbouring colours were still approximately constant across the palette