Export

Code

/* Mustard Brown — colorset.net */
:root {
  --color-1: #8B7500;
  --color-2: #A68A00;
  --color-3: #C1A000;
  --color-4: #DCB515;
  --color-5: #F7CA2A;

  --color-bg: #FCF7E8;
  --color-surface: #F2EDDF;
  --color-border: #DBD5C3;
  --color-text: #5D4E00;
  --color-muted: #726B51;
  --color-primary: #8A7300;
  --color-on-primary: #FFFFFF;
  --color-accent: #534400;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140F00;
    --color-surface: #1E1905;
    --color-border: #342E15;
    --color-text: #DBCFAB;
    --color-muted: #8B8267;
    --color-primary: #A68A00;
    --color-on-primary: #140F00;
    --color-accent: #F7CA2A;
    --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 #F7CA2Aadjusted for contrast · from #8B7500
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8B7500adjusted for contrast · from #F7CA2A
Muted textderivedderived
Primaryadjusted for contrast · from #8B7500from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #8B7500from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.03:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent9.57:1AAA pass 4.5:1
Primary on background4.33:1AA Large pass 3:1
Accent on background8.93:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background12.32:1AAA pass 4.5:1
Text on surface11.30:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.70:1AA pass 4.5:1
Label on accent12.24:1AAA pass 4.5:1
Primary on background5.70:1AA pass 3:1
Accent on background12.24: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#8B7500 (Text 1)#A68A00 (Text 2)#C1A000 (Text 3)#DCB515 (Text 4)#F7CA2A (Text 5)
#8B7500Same color1.35—1.79—2.30—2.89—
#A68A001.35—Same color1.33—1.70—2.15—
#C1A0001.79—1.33—Same color1.29—1.62—
#DCB5152.30—1.70—1.29—Same color1.26—
#F7CA2A2.89—2.15—1.62—1.26—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#8B7500#A68A00#C1A000#DCB515#F7CA2A

Variations

About Mustard Brown

Mustard Brown brings together three yellows and two light yellows (#8B7500, #A68A00, #C1A000, #DCB515, #F7CA2A) in a warm, yellow-led scheme. All hues sit within 5° of each other, so yellow #8B7500 and its relatives form a cohesive monochromatic scheme. From #8B7500 to #F7CA2A the colors share a similar light value (lightness 57%–85%), which suits fills and illustration more than body text. Average chroma is 0.143, medium for a palette, so the colors are clear without being loud; the most saturated color is #F7CA2A. Text contrast reaches 7.7:1 in light mode and 12.3:1 in dark mode, with #8A7300 as primary and #534400 as accent. With #A68A00 leading, good fits include focused single-product sites, minimal branding and icons and logos.

Mustard Brown color palette: #8B7500, #A68A00, #C1A000, #DCB515, #F7CA2A
Share image for Mustard Brown

Gradients in similar colors