Mustard Green #A8B504
Mustard Green is a medium-light, vivid yellow with hex code #A8B504 and RGB rgb(168, 181, 4).
Aa
Black text reads best on this color (9.27:1).
About this color
#A8B504 is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.166 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. It is the named color Mustard Green. Black text reads best on it, at 9.27:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Mustard Green |
| Black text | 9.27:1 |
| White text | 2.26:1 |
Colors that go with Mustard Green
Matches found by rotating Mustard Green 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 Green
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Mustard Green, closest first.
Similar named colors
The eight named colors closest to Mustard Green, with their ΔE distance.
- Bright Olive #9CBB04 ΔE 0.022
- Pea #A4BF20 ΔE 0.026
- Avocado #90B134 ΔE 0.037
- Olive Yellow #C2B709 ΔE 0.039
- Muddy Yellow #BFAC05 ΔE 0.040
- Icky Green #8FAE22 ΔE 0.041
- Dark Lime #84B701 ΔE 0.047
- Pea Green #8EAB12 ΔE 0.047
More about Mustard Green
How to make Mustard Green
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.
- 2 parts yellow
- 1 part orange
- 1 part green
Recipe result: #A5B92F, a difference of ΔE 0.014 from Mustard Green. That is very close: most people will not see the difference.
Codes for Mustard Green in every format
| HEX | #A8B504 |
| RGB | rgb(168, 181, 4) |
| HSL | hsl(64, 96%, 36%) |
| OKLCH | oklch(73.8% 0.166 114.9) |
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 #A8B504 | 2.26:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #A8B504 | 9.27:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #A8B504 text on white | 2.26:1 | Fails | Lc 44.4 | Non-text elements, placeholder text |
| #A8B504 text on black | 9.27:1 | AAA | Lc -57.7 | Large or bold text, headings |
Shades and tints of Mustard Green
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 400.
-
Step 50
50
#F5F7EC
oklch(97.2% 0.015 115)
-
Step 100
100
#E9EDD6
oklch(93.7% 0.031 115)
-
Step 200
200
#D7DEB3
oklch(88.4% 0.057 115.1)
-
Step 300
300
#BEC979
oklch(80.9% 0.104 115.2)
-
Step 400
400 (this color)
#A8B504
oklch(73.8% 0.166 114.9)
-
Step 500
500
#889200
oklch(63% 0.142 114.5)
-
Step 600
600
#727B00
oklch(55.6% 0.126 114.8)
-
Step 700
700
#5F6700
oklch(49% 0.111 115)
-
Step 800
800
#4E5400
oklch(42.6% 0.096 114.4)
-
Step 900
900
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262A00
oklch(27.2% 0.062 115.2)
Mustard Green 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) | #C3AB00 | 0.046 |
| Deuteranopia (no green cones) | #C2AD22 | 0.046 |
| Tritanopia (no blue cones) | #B4AA9A | 0.146 |
| Achromatopsia (no color) | #ACACAC | 0.166 |
Use Mustard Green 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.