Export

Code

/* Dijon Mustard — colorset.net */
:root {
  --color-1: #CCAA00;
  --color-2: #DDBB00;
  --color-3: #EECC00;
  --color-4: #FFDD00;
  --color-5: #FFEE33;

  --color-bg: #F9F8E9;
  --color-surface: #EFEEDF;
  --color-border: #D7D6C3;
  --color-text: #5E4D00;
  --color-muted: #726B51;
  --color-primary: #8C7400;
  --color-on-primary: #FFFFFF;
  --color-accent: #9E8800;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140F00;
    --color-surface: #1F1905;
    --color-border: #342E15;
    --color-text: #EEECC5;
    --color-muted: #88866A;
    --color-primary: #CCAA00;
    --color-on-primary: #140F00;
    --color-accent: #FFEE33;
    --color-on-accent: #140F00;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #FFEE33adjusted for contrast · from #CCAA00
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #CCAA00adjusted for contrast · from #FFEE33
Muted textderivedderived
Primaryadjusted for contrast · from #CCAA00from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #CCAA00from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.74:1AAA pass 4.5:1
Text on surface7.08:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.55:1AA pass 4.5:1
Label on accent5.98:1AA pass 4.5:1
Primary on background4.26:1AA Large pass 3:1
Accent on background3.29:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.88:1AAA pass 4.5:1
Text on surface14.54:1AAA pass 4.5:1
Muted text on background5.16:1AA pass 4.5:1
Label on primary8.49:1AAA pass 4.5:1
Label on accent15.96:1AAA pass 4.5:1
Primary on background8.49:1AAA pass 3:1
Accent on background15.96:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#CCAA00 (Text 1)#DDBB00 (Text 2)#EECC00 (Text 3)#FFDD00 (Text 4)#FFEE33 (Text 5)
#CCAA00Same color1.20—1.42—1.67—1.88—
#DDBB001.20—Same color1.19—1.39—1.57—
#EECC001.42—1.19—Same color1.17—1.32—
#FFDD001.67—1.39—1.17—Same color1.12—
#FFEE331.88—1.57—1.32—1.12—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#CCAA00#DDBB00#EECC00#FFDD00#FFEE33

Variations

About Dijon Mustard

Dijon Mustard brings together three light yellows and two pale yellows (#CCAA00, #DDBB00, #EECC00, #FFDD00, #FFEE33) in a warm, yellow-led scheme. All hues sit within 9° of each other, so light yellow #CCAA00 and its relatives form a cohesive monochromatic scheme. From #CCAA00 to #FFEE33 the colors share a similar light value (lightness 75%–93%), which suits fills and illustration more than body text. Average chroma is 0.173, high for a palette, so the colors feel saturated and energetic; the most saturated color is #FFEE33. Text contrast reaches 7.7:1 in light mode and 15.9:1 in dark mode, with #8C7400 as primary and #9E8800 as accent. With #CCAA00 leading, good fits include typography-led layouts, icons and logos and children’s products.

Dijon Mustard color palette: #CCAA00, #DDBB00, #EECC00, #FFDD00, #FFEE33
Share image for Dijon Mustard

Gradients in similar colors