Export

Code

/* Brass Section — colorset.net */
:root {
  --color-1: #FEFAEF;
  --color-2: #F0C543;
  --color-3: #953C41;
  --color-4: #B29722;
  --color-5: #292407;

  --color-bg: #FEFAEF;
  --color-surface: #F5F1E6;
  --color-border: #DDD8CA;
  --color-text: #292407;
  --color-muted: #726E53;
  --color-primary: #A28800;
  --color-on-primary: #000000;
  --color-accent: #953C41;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #292407;
    --color-surface: #342F13;
    --color-border: #4A452C;
    --color-text: #FEFAEF;
    --color-muted: #9C988E;
    --color-primary: #B29722;
    --color-on-primary: #292407;
    --color-accent: #B95D60;
    --color-on-accent: #000000;
  }
}

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
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #B29722from palette · color 4
On primaryderivedderived
Accentfrom palette · color 3adjusted for contrast · from #953C41
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.92:1AAA pass 4.5:1
Text on surface13.79:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary6.06:1AA pass 4.5:1
Label on accent7.00:1AAA pass 4.5:1
Primary on background3.32:1AA Large pass 3:1
Accent on background6.71:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.92:1AAA pass 4.5:1
Text on surface12.89:1AAA pass 4.5:1
Muted text on background5.41:1AA pass 4.5:1
Label on primary5.44:1AA pass 4.5:1
Label on accent4.80:1AA pass 4.5:1
Primary on background5.44:1AA pass 3:1
Accent on background3.55:1AA Large 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#FEFAEF (Text 1)#F0C543 (Text 2)#953C41 (Text 3)#B29722 (Text 4)#292407 (Text 5)
#FEFAEFSame color1.58—6.71AA2.74—14.92AAA
#F0C5431.58—Same color4.26AA Large1.74—9.46AAA
#953C416.71AA4.26AA LargeSame color2.45—2.22—
#B297222.74—1.74—2.45—Same color5.44AA
#29240714.92AAA9.46AAA2.22—5.44AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FEFAEF#F0C543#953C41#B29722#292407

Variations

About Brass Section

Polished brass and a red-velvet accent for big bands and swing nights. Brass Section brings together an off-white, a light yellow, a red, a yellow and a deep yellow (#FEFAEF, #F0C543, #953C41, #B29722, #292407) in a warm, yellow-led scheme. Red #953C41 and deep yellow #292407 are 80° apart, so the palette has clear hue contrast without clashing. A 73-point lightness range (26% for #292407 to 99% for #FEFAEF) gives strong value contrast, useful for text on background. Average chroma is 0.092, medium for a palette, so the colors are clear without being loud; the most saturated color is #F0C543. In light mode #FEFAEF becomes the background with #292407 text at 14.9:1, and #A28800 takes the primary role. Try it for summer promotions, children’s products and cheerful landing pages, letting yellow #B29722 carry the key actions.

Brass Section color palette: #FEFAEF, #F0C543, #953C41, #B29722, #292407
Share image for Brass Section

Gradients in similar colors