Export

Code

/* Buttercup Yellow — colorset.net */
:root {
  --color-1: #FFF000;
  --color-2: #FFF44F;
  --color-3: #FFF799;
  --color-4: #FFFACD;
  --color-5: #FFFEF0;

  --color-bg: #FFFEF0;
  --color-surface: #F6F5E7;
  --color-border: #DDDCCB;
  --color-text: #595406;
  --color-muted: #727156;
  --color-primary: #988F00;
  --color-on-primary: #000000;
  --color-accent: #8F8E81;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121000;
    --color-surface: #1C1A06;
    --color-border: #312F16;
    --color-text: #FFFEF0;
    --color-muted: #908F83;
    --color-primary: #FFF000;
    --color-on-primary: #121000;
    --color-accent: #FFF799;
    --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 5adjusted for contrast · from #FFF000
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFF000from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FFF000from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFF799from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.10:1AAA pass 4.5:1
Muted text on background4.91:1AA pass 4.5:1
Label on primary6.26:1AA pass 4.5:1
Label on accent6.35:1AA pass 4.5:1
Primary on background3.30:1AA Large pass 3:1
Accent on background3.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.81:1AAA pass 4.5:1
Text on surface17.24:1AAA pass 4.5:1
Muted text on background5.86:1AA pass 4.5:1
Label on primary16.11:1AAA pass 4.5:1
Label on accent17.29:1AAA pass 4.5:1
Primary on background16.11:1AAA pass 3:1
Accent on background17.29: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#FFF000 (Text 1)#FFF44F (Text 2)#FFF799 (Text 3)#FFFACD (Text 4)#FFFEF0 (Text 5)
#FFF000Same color1.03—1.07—1.12—1.17—
#FFF44F1.03—Same color1.04—1.08—1.13—
#FFF7991.07—1.04—Same color1.04—1.09—
#FFFACD1.12—1.08—1.04—Same color1.04—
#FFFEF01.17—1.13—1.09—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFF000#FFF44F#FFF799#FFFACD#FFFEF0

Variations

About Buttercup Yellow

Buttercup Yellow is a warm yellow palette of 5 colors that runs from off-white #FFFEF0 to pale yellow #FFF000. With a hue spread of just 3°, it is effectively monochromatic: #FFF000, #FFF44F and #FFF799 differ mostly in lightness. All five colors stay in a narrow light band (94% to 99% lightness, #FFF000 to #FFFEF0), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.114, peaking at 0.199 in #FFF000); the colors are clear without being loud. In light mode #FFFEF0 becomes the background with #595406 text at 7.7:1, and #988F00 takes the primary role. With #FFF000 leading, good fits include minimal branding, focused single-product sites and documentation.

Buttercup Yellow color palette: #FFF000, #FFF44F, #FFF799, #FFFACD, #FFFEF0
Share image for Buttercup Yellow

Gradients in similar colors