Skip to content

Mustard Palette

CSS variables
:root {
  --color-1: #E1AD01;
  --color-2: #F2C94C;
  --color-3: #F7E7B4;
  --color-4: #8C6A00;
  --color-5: #4A3800;
}
Tailwind config
// tailwind.config.js
colors: {
  "mustard-1": "#E1AD01",
  "mustard-2": "#F2C94C",
  "mustard-3": "#F7E7B4",
  "mustard-4": "#8C6A00",
  "mustard-5": "#4A3800",
}
About this palette

The Mustard palette is a curated set of 5 colors with their HEX, RGB and ready CSS-variable and Tailwind exports. Click any swatch for that color's full breakdown — conversions, contrast and harmonies.

Readable text on each color

White and near-black measured against every swatch. AA means the pairing clears 4.5:1 for body text; Large means it only clears 3:1, so reserve it for 24px and up.

Aa
#E1AD01Near-black9.16:1AA
Aa
#F2C94CNear-black11.91:1AA
Aa
#F7E7B4Near-black15.33:1AA
Aa
#8C6A00White5.03:1AA
Aa
#4A3800White11.31:1AA
These colours on each other

6 of the 20 combinations inside this palette clear 4.5:1 for body text. Rows are the text colour, columns the background.

text \\ background#E1AD01#F2C94C#F7E7B4#8C6A00#4A3800
#E1AD011.30Fails1.67Fails2.44Fails5.48AA
#F2C94C1.30Fails1.29Fails3.17Large only7.13AA
#F7E7B41.67Fails1.29Fails4.08Large only9.18AA
#8C6A002.44Fails3.17Large only4.08Large only2.25Fails
#4A38005.48AA7.13AA9.18AA2.25Fails
More palettes

Related

Gradients in the same range

✓ Copied