Mustard #CEB301
Mustard is a medium-light, vivid yellow with hex code #CEB301 and RGB rgb(206, 179, 1).
Aa
Black text reads best on this color (10.07:1).
About this color
#CEB301 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.158 and its hue 98°. Its hue sits on the warm side of the wheel. It is the named color Mustard. Black text reads best on it, at 10.07:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.158) |
| Temperature | warm |
| Nearest name | Mustard |
| Black text | 10.07:1 |
| White text | 2.08:1 |
Colors that go with Mustard
Matches found by rotating Mustard around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Mustard
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Mustard, closest first.
Similar named colors
The eight named colors closest to Mustard, with their ΔE distance.
- Dark Yellow #D5B60A ΔE 0.014
- Olive Yellow #C2B709 ΔE 0.020
- Burnt Yellow #D5AB09 ΔE 0.023
- Mustard Yellow #D2BD0A ΔE 0.027
- Muddy Yellow #BFAC05 ΔE 0.031
- Goldenrod #DAA520 ΔE 0.042
- Mustard Green #A8B504 ΔE 0.056
- Yellow Ochre #CB9D06 ΔE 0.057
More about Mustard
How to make Mustard
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 4 parts yellow
- 1 part red
- 1 part green
Recipe result: #CEB430, a difference of ΔE 0.015 from Mustard. That is very close: most people will not see the difference.
Codes for Mustard in every format
| HEX | #CEB301 |
| RGB | rgb(206, 179, 1) |
| HSL | hsl(52, 99%, 41%) |
| OKLCH | oklch(76.7% 0.158 98.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CEB301 | 2.08:1 | Fails | Lc -45.1 | Large or bold text, headings |
| Black text on #CEB301 | 10.07:1 | AAA | Lc 63.4 | Content text, not long reading |
| #CEB301 text on white | 2.08:1 | Fails | Lc 40.5 | Non-text elements, placeholder text |
| #CEB301 text on black | 10.07:1 | AAA | Lc -61.8 | Content text, not long reading |
Shades and tints of Mustard
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.
-
Step 50
50
#F9F6E6
oklch(97.1% 0.021 98.1)
-
Step 100
100
#F1EBC8
oklch(93.6% 0.046 99.2)
-
Step 200
200
#E8DA96
oklch(88.4% 0.088 97.9)
-
Step 300
300 (this color)
#CEB301
oklch(76.7% 0.158 98.2)
-
Step 400
400
#B9A000
oklch(70.6% 0.146 97.9)
-
Step 500
500
#9E8900
oklch(63% 0.13 98.3)
-
Step 600
600
#857300
oklch(55.6% 0.115 98.3)
-
Step 700
700
#706100
oklch(49.2% 0.102 98.7)
-
Step 800
800
#5C4F00
oklch(42.8% 0.088 98.3)
-
Step 900
900
#4D4100
oklch(37.6% 0.078 97.3)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
Mustard with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #C7AE00 | 0.018 |
| Deuteranopia (no green cones) | #CEB71D | 0.010 |
| Tritanopia (no blue cones) | #DFA498 | 0.146 |
| Achromatopsia (no color) | #B4B4B4 | 0.158 |
Use Mustard in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.