Export

Code

/* Butter Yellow — colorset.net */
:root {
  --color-1: #FFC107;
  --color-2: #FFD54F;
  --color-3: #FFE082;
  --color-4: #FFECB3;
  --color-5: #FFF8E1;

  --color-bg: #FFF8E1;
  --color-surface: #F6EFD8;
  --color-border: #DED6BC;
  --color-text: #644A00;
  --color-muted: #766951;
  --color-primary: #AE8300;
  --color-on-primary: #000000;
  --color-accent: #8F8974;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160E00;
    --color-surface: #211805;
    --color-border: #372C15;
    --color-text: #FFF8E1;
    --color-muted: #928C77;
    --color-primary: #FFC107;
    --color-on-primary: #160E00;
    --color-accent: #FFECB3;
    --color-on-accent: #160E00;
  }
}

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 5adjusted for contrast · from #FFC107
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFC107from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FFC107from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFC107from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.84:1AAA pass 4.5:1
Text on surface7.24:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary6.05:1AA pass 4.5:1
Label on accent6.00:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background3.30:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.02:1AAA pass 4.5:1
Text on surface16.51:1AAA pass 4.5:1
Muted text on background5.69:1AA pass 4.5:1
Label on primary11.74:1AAA pass 4.5:1
Label on accent16.32:1AAA pass 4.5:1
Primary on background11.74:1AAA pass 3:1
Accent on background16.32: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#FFC107 (Text 1)#FFD54F (Text 2)#FFE082 (Text 3)#FFECB3 (Text 4)#FFF8E1 (Text 5)
#FFC107Same color1.16—1.26—1.39—1.53—
#FFD54F1.16—Same color1.09—1.20—1.33—
#FFE0821.26—1.09—Same color1.10—1.22—
#FFECB31.39—1.20—1.10—Same color1.10—
#FFF8E11.53—1.33—1.22—1.10—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFC107#FFD54F#FFE082#FFECB3#FFF8E1

Variations

About Butter Yellow

Five colors make up Butter Yellow, a warm yellow set: #FFC107, #FFD54F, #FFE082, #FFECB3, #FFF8E1. All hues sit within 7° of each other, so light yellow #FFC107 and its relatives form a cohesive monochromatic scheme. From #FFC107 to #FFF8E1 the colors share a similar light value (lightness 84%–98%), which suits fills and illustration more than body text. Average chroma is 0.110, medium for a palette, so the colors are clear without being loud; the most saturated color is #FFC107. Text contrast reaches 7.8:1 in light mode and 18.0:1 in dark mode, with #AE8300 as primary and #8F8974 as accent. Try it for e-commerce product pages, documentation and reading apps, letting light yellow #FFC107 carry the key actions.

Butter Yellow color palette: #FFC107, #FFD54F, #FFE082, #FFECB3, #FFF8E1
Share image for Butter Yellow

Gradients in similar colors