Yellow reaches high apparent brightness quickly, so even mid-range yellow values can feel very light on screen. The computed ramp above makes the lightness steps explicit instead of relying on shade names that can vary between sources.
For UI work, yellow often needs dark text even when the background looks saturated. If the goal is a richer mustard or ochre family, reduce saturation or shift hue rather than only lowering lightness.
Useful next steps
Try a specific color in the Tints and Shades Generator, or browse other shade families.