Export

Code

/* Buttercup — colorset.net */
:root {
  --color-1: #FFFDE7;
  --color-2: #FFF9C4;
  --color-3: #FFF59D;
  --color-4: #FFF176;
  --color-5: #FFEE58;

  --color-bg: #FFFDE7;
  --color-surface: #F6F4DE;
  --color-border: #DDDBC2;
  --color-text: #5B5304;
  --color-muted: #727055;
  --color-primary: #9B8D00;
  --color-on-primary: #000000;
  --color-accent: #8F8D79;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121000;
    --color-surface: #1C1A06;
    --color-border: #312F16;
    --color-text: #FFFDE7;
    --color-muted: #918F7B;
    --color-primary: #FFEE58;
    --color-on-primary: #121000;
    --color-accent: #FFF59D;
    --color-on-accent: #121000;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.62:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.91:1AA pass 4.5:1
Label on primary6.20:1AA pass 4.5:1
Label on accent6.25:1AA pass 4.5:1
Primary on background3.30:1AA Large pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.60:1AAA pass 4.5:1
Text on surface17.05:1AAA pass 4.5:1
Muted text on background5.84:1AA pass 4.5:1
Label on primary16.02:1AAA pass 4.5:1
Label on accent17.09:1AAA pass 4.5:1
Primary on background16.02:1AAA pass 3:1
Accent on background17.09: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#FFFDE7 (Text 1)#FFF9C4 (Text 2)#FFF59D (Text 3)#FFF176 (Text 4)#FFEE58 (Text 5)
#FFFDE7Same color1.04—1.09—1.13—1.16—
#FFF9C41.04—Same color1.04—1.08—1.11—
#FFF59D1.09—1.04—Same color1.04—1.07—
#FFF1761.13—1.08—1.04—Same color1.03—
#FFEE581.16—1.11—1.07—1.03—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58

Variations

About Buttercup

Buttercup brings together an off-white and four pale yellows (#FFFDE7, #FFF9C4, #FFF59D, #FFF176, #FFEE58) in a warm, yellow-led scheme. All hues sit within 1° of each other, so pale yellow #FFF9C4 and its relatives form a cohesive monochromatic scheme. From #FFEE58 to #FFFDE7 the colors share a similar light value (lightness 94%–99%), which suits fills and illustration more than body text. Average chroma is 0.103, medium for a palette, so the colors are clear without being loud; the most saturated color is #FFEE58. As a UI theme it uses #9B8D00 for primary actions and #8F8D79 as the accent; dark mode sits on #121000 with #FFFDE7 text (18.6:1). Its pastel and monochrome character, led by #FFEE58, suits reading apps, clean landing pages and e-commerce product pages.

Buttercup color palette: #FFFDE7, #FFF9C4, #FFF59D, #FFF176, #FFEE58
Share image for Buttercup

Gradients in similar colors