Sunny Mustard & Saffron is a vivid dark, complementary color palette tagged dark, yellow, blue. Mustard and Midnight sit nearly opposite on the color wheel, so the pairing has real energy; keep one as the accent. These are bold, punchy colors that need generous white space around them. Warm and cool hues are mixed, which adds depth.
Color codes click any value to copy
| Swatch | Name | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Mustard | #DAB200 | rgb(218, 178, 0) | hsl(49, 100%, 43%) | oklch(77.7% 0.159 93) | |
| Saffron | #E9D46A | rgb(233, 212, 106) | hsl(50, 74%, 66%) | oklch(86.6% 0.129 98) | |
| Midnight | #343176 | rgb(52, 49, 118) | hsl(243, 41%, 33%) | oklch(35.8% 0.115 281) | |
| Obsidian | #04001B | rgb(4, 0, 27) | hsl(249, 100%, 5%) | oklch(11.0% 0.065 283) |
Why it works and how to use it
The palette holds together thanks to its complementary hue relationship and a strong light-to-dark ladder (66% down to 5% lightness). A natural fit for dark-mode interfaces and gaming.
- Background: Saffron (#E9D46A) is the lightest color, so it belongs on large surfaces.
- Text: Obsidian (#04001B) on #E9D46A gives 13.8:1, passing WCAG AAA.
- Primary: Mustard (#DAB200) is the most saturated mid-tone; use it for buttons and links with a border or a darker shade for contrast.
- Accent: Midnight (#343176) for highlights, badges and hover states.
4 of 6 color pairs pass WCAG AA (4.5:1); the strongest is Saffron on Obsidian at 13.8:1.
Preview on a real UI see how the palette feels in context
Design faster with Sunny Mustard & Saffron
A palette preview that turns four colors into a page, so you can judge hierarchy, contrast and mood before you commit.
Primary action SecondaryColor blindness simulation
Color-blind check: all four colors stay distinguishable under protanopia, deuteranopia and tritanopia.
Contrast check WCAG ratios between palette colors
| Pair | Sample | Ratio | Level |
|---|---|---|---|
#E9D46A on #04001B | Aa | 13.8:1 | AAA |
#DAB200 on #04001B | Aa | 10.14:1 | AAA |
#E9D46A on #343176 | Aa | 7.63:1 | AAA |
#DAB200 on #343176 | Aa | 5.6:1 | AA |
#343176 on #04001B | Aa | 1.81:1 | Fail |
#DAB200 on #E9D46A | Aa | 1.36:1 | Fail |