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 familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.166)
Temperaturein between
Nearest nameMustard Green
Black text9.27:1
White text2.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°).

Open the complementary palette in the generator

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.

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.

What colors make green? | Color mixing chart

Codes for Mustard Green in every format

HEX#A8B504
RGBrgb(168, 181, 4)
HSLhsl(64, 96%, 36%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E9EDD6

    oklch(93.7% 0.031 115)

  3. Step 200

    200

    #D7DEB3

    oklch(88.4% 0.057 115.1)

  4. Step 300

    300

    #BEC979

    oklch(80.9% 0.104 115.2)

  5. Step 400

    400 (this color)

    #A8B504

    oklch(73.8% 0.166 114.9)

  6. Step 500

    500

    #889200

    oklch(63% 0.142 114.5)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#C3AB000.046
Deuteranopia (no green cones)#C2AD220.046
Tritanopia (no blue cones)#B4AA9A0.146
Achromatopsia (no color)#ACACAC0.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.