Mustard is a dark, slightly brown yellow. It shares a hue band with gold — most of the tones below sit between 42° and 48° — but it is held lower in lightness, so it reads earthy rather than metallic. Copy the HEX codes from any scheme below, or generate a harmonious mustard palette anchored to a base colour you pick.
Mustard Palette Ideas & HEX Codes
Classic Mustard is fully saturated at the dark end (#664D00, #8B6B00, #B08900) and only softens at #D4A017 and #E9C46A. Mustard & Ochre swaps the darkest step for a true brown, #7F5539, which grounds the set. Soft Mustard is the pale version, running up to a near-cream #FBF0C4.
Classic Mustard
#664D00
#8B6B00
#B08900
#D4A017
#E9C46A
Mustard & Ochre
#7F5539
#B08900
#CB9E2B
#E9B949
#F4D58D
Soft Mustard
#B0820A
#D4A017
#E6C84E
#F2DE8A
#FBF0C4
Anchored to a mustard base — press Space or Generate to roll more schemes. Click a swatch to copy its HEX, lock one to keep it while the rest re-roll, then export as CSS, JSON or HEX.
Free, no sign-up Generated in your browser CSS, JSON & HEX export
Drag in the colour area or the hue bar, or type a HEX / RGB value, then build a scheme anchored to it.
What Goes With Mustard
Mustard is a retro colour and it keeps the company it had in the seventies: rust, brown, olive and cream. A deep teal or navy is the sharper option, cool enough to stop the set becoming one flat warm block. Boho interiors, autumn fashion, coffee packaging and vintage-styled brands use it.
Frequently Asked Questions
What HEX codes make a mustard palette?
Mustard is a deep, warm yellow with a hint of brown: anchor on an ochre (#8B6B00, #B08900), use a true mustard (#D4A017) and lift with soft golden tints (#E9C46A, #F4D58D). The muted, earthy warmth is what makes it mustard rather than bright yellow. The Classic Mustard, Mustard & Ochre and Soft Mustard rows above each carry five codes, which is usually the right number: two darks, a mid and two tints. Across all three the extremes are #664D00 and #FBF0C4, which contrast at 6.9:1 — past the 4.5:1 WCAG AA minimum for body text.
What is the difference between mustard and gold?
Mustard and gold differ in lightness and saturation, not hue — both sit around 43°–48°. Metallic gold #D4AF37 is 52% light at 65% saturation; mustard #D4A017 is 46% light at 80%. Mustard is deeper and more pigmented, which is why gold reads as a metal and mustard reads as a paint or a fabric.
How do I use these colours in CSS?
Click Copy CSS for a ready-to-paste :root block with each colour as a custom property (--color-1, --color-2 and so on), or copy a single HEX straight from any swatch above. The generator here starts anchored to #D4A017, so the first block you copy is a set of mustard variations rather than a random hue. Copy JSON returns the same five values as an array for a build step or a token file, and Copy HEX returns them as a plain comma-separated line. Lock any swatch you want to keep before generating again and it survives into the next export.
Which mustard shades are readable as text on white?
The deeper mustard shades work as body text on white and the pale ones do not. The base shade used here, #D4A017, gives 2.3:1 against #FFFFFF, too little for text of any size, so keep it for fills and accents. The darkest code on this page, #664D00, reaches 7.9:1 on white and clears WCAG AA for body text and AAA as well. The palest, #FBF0C4, sits at 1.1:1 and belongs behind text rather than in it, with something dark on top.