Complementary color of Mustard Yellow
The complement of Mustard Yellow (#FFDB58) is #AD58FF on the artist wheel and #587CFF on the digital RGB wheel. See contrast, color-blind checks and CSS.
The colors (click to copy)
The complement of Mustard Yellow on three wheels
A complementary color sits 180° across the wheel. Mustard Yellow is a warm, light color: its lightness is 90% in OKLCH, its chroma is 0.151 and its hue sits at 94°, in the yellow family. The nearest CSS name is gold (#FFD700), a distance of ΔE 4.6.
| Wheel | Complement | Nearest CSS name | vs Mustard Yellow |
|---|---|---|---|
| Artist wheel (RYB) | #AD58FF | mediumorchid | 2.76:1 |
| Digital wheel (RGB) | #587CFF | royalblue | 2.70:1 |
| Perceptual wheel (OKLCH) | #D3DCFF | lavender | 1.00:1 |
The artist and digital wheels differ by ΔE 17.4 here. Use the artist answer (#AD58FF) for paint, print and traditional color theory, and the digital one (#587CFF) when you write CSS.
The perceptual wheel keeps lightness steady and turns only the hue. A vivid blue at this lightness does not fit inside a screen's colors, so its chroma drops from 0.151 to 0.049, and the OKLCH complement comes out softer than Mustard Yellow itself.
On the artist wheel the opposite of the yellow family is violet, and the result is neither clearly warm nor cool. The partner is mid-tone (lightness 64%), so the pair differs by 26% in lightness.
Does Mustard Yellow contrast with its complement?
| Wheel | Ratio | WCAG 2.2 | Lightness gap | Text on the partner |
|---|---|---|---|---|
| Artist wheel (RYB) | 2.76:1 | fails | 26% | Black 5.0:1 |
| Digital wheel (RGB) | 2.70:1 | fails | 27% | Black 5.1:1 |
| Perceptual wheel (OKLCH) | 1.00:1 | fails | 0% | Black 13.6:1 |
At 2.76:1 the artist complement is too weak for text on Mustard Yellow. Keep the pair for large shapes, and put text in black or white on top of each.
The nearest text-safe version of the complement is #892BD5, which reaches 4.61:1 on Mustard Yellow. It keeps the hue and chroma and shifts only the lightness (ΔE 14.1 from the original).
Is the complement of Mustard Yellow safe for color-blind viewers?
| Type | As seen | Closest pair | ΔE2000 | Result |
|---|---|---|---|---|
| Protanopia (no red cones) | Mustard Yellow and its complement | 68.0 | clearly different | |
| Deuteranopia (no green cones) | Mustard Yellow and its complement | 67.1 | clearly different | |
| Tritanopia (no blue cones) | Mustard Yellow and its complement | 29.2 | clearly different |
Even the weakest case, tritanopia, keeps the closest pair at ΔE 29.2. That is a clear difference, so this pairing holds up for most color-vision types.
Using Mustard Yellow and its complement in a layout
Mustard Yellow is light enough to be the 60% background. Give the complement (#AD58FF) to buttons and headings, and add a dark neutral for text.
surface #FFDB58, text #111412, accent #AD58FF
:root {
--surface: #ffdb58;
--text: #111412;
--accent: #ad58ff;
}Tailwind-style scale for the complement
Here is the artist complement built into a 50 to 950 scale, with the best text color on every step. Make your own from any hex with the Tailwind color generator.
#AD58FF (mediumorchid)
| 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 |
|---|---|---|---|---|---|---|---|---|---|---|
| #F9F5FF | #F1E8FF | #E4D2FF | #D4B5FF | #BF88FF | #AD58FF | #9137DE | #7522B9 | #5C1993 | #47186F | #29173D |
A softer option: split-complementary
If the straight complement feels harsh, use the two colors beside it instead. For Mustard Yellow on the artist wheel those are #589AFF (2.08:1) and #FF58E9 (1.98:1). Together they keep the contrast but add variety.
CSS to copy
:root {
--mustard-yellow: #ffdb58;
--mustard-yellow-complement: #ad58ff;
--mustard-yellow-complement-rgb: #587cff;
--mustard-yellow-complement-oklch: #d3dcff;
}The story of Mustard Yellow
Mustard as a color name is traced in English to 1886, and it describes the dull, deep yellow of prepared culinary mustard. Wikipedia also notes the shade appears in the 1930 color dictionary by Maerz and Paul. Source: Wikipedia.
In the board game Cluedo (Clue in the US), first made by Waddingtons in 1949, the Colonel Mustard token is yellow, and the character was reportedly called Colonel Yellow before the final release. Source: Wikipedia.
Frequently asked questions
What is the complementary color of Mustard Yellow?
On the artist wheel it is #AD58FF (mediumorchid). On the digital RGB wheel it is #587CFF (royalblue), and in OKLCH it is #D3DCFF (lavender). The first is the traditional answer, and the second is what you get by rotating the hue in HSL.
Can I use Mustard Yellow and its complement for text?
The artist pair reaches 2.76:1, so not directly. A text-safe partner is #892BD5 at 4.61:1.
Should I use the artist or digital complement of Mustard Yellow?
The artist and digital wheels differ by ΔE 17.4 here. Use the artist answer (#AD58FF) for paint, print and traditional color theory, and the digital one (#587CFF) when you write CSS.
What is a softer alternative to the complement of Mustard Yellow?
Try the split-complementary pair #589AFF and #FF58E9, which sit 30° either side of the complement on the artist wheel.
Is the complement of Mustard Yellow safe for color blindness?
Even the weakest case, tritanopia, keeps the closest pair at ΔE 29.2. That is a clear difference, so this pairing holds up for most color-vision types.
Keep going with Mustard Yellow
Colors with a similar complementary partner
Colors close to Mustard Yellow
Content updated