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 familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameMustard
Black text10.07:1
White text2.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.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

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.

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.

What colors make yellow? | Color mixing chart

Codes for Mustard in every format

HEX#CEB301
RGBrgb(206, 179, 1)
HSLhsl(52, 99%, 41%)
OKLCHoklch(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.

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

  1. Step 50

    50

    #F9F6E6

    oklch(97.1% 0.021 98.1)

  2. Step 100

    100

    #F1EBC8

    oklch(93.6% 0.046 99.2)

  3. Step 200

    200

    #E8DA96

    oklch(88.4% 0.088 97.9)

  4. Step 300

    300 (this color)

    #CEB301

    oklch(76.7% 0.158 98.2)

  5. Step 400

    400

    #B9A000

    oklch(70.6% 0.146 97.9)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#C7AE000.018
Deuteranopia (no green cones)#CEB71D0.010
Tritanopia (no blue cones)#DFA4980.146
Achromatopsia (no color)#B4B4B40.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.