Export

Code

/* Daffodil Yellow — colorset.net */
:root {
  --color-1: #FFEC47;
  --color-2: #FFEF66;
  --color-3: #FFF44F;
  --color-4: #FFF685;
  --color-5: #FFFACD;

  --color-bg: #F9F7EA;
  --color-surface: #EFEEE1;
  --color-border: #D7D6C5;
  --color-text: #574F00;
  --color-muted: #6E6B50;
  --color-primary: #827700;
  --color-on-primary: #FFFFFF;
  --color-accent: #8F8A61;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121000;
    --color-surface: #1D1A06;
    --color-border: #322F16;
    --color-text: #FEFAD3;
    --color-muted: #908D71;
    --color-primary: #FFEC47;
    --color-on-primary: #121000;
    --color-accent: #C4B429;
    --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
Backgroundadjusted for contrast · from #FFFACDadjusted for contrast · from #FFEC47
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFEC47adjusted for contrast · from #FFFACD
Muted textderivedderived
Primaryadjusted for contrast · from #FFEC47from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFEC47adjusted for contrast · from #FFEC47
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.73:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.58:1AA pass 4.5:1
Label on accent5.98:1AA pass 4.5:1
Primary on background4.25:1AA Large pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.03:1AAA pass 4.5:1
Text on surface16.49:1AAA pass 4.5:1
Muted text on background5.67:1AA pass 4.5:1
Label on primary15.77:1AAA pass 4.5:1
Label on accent9.01:1AAA pass 4.5:1
Primary on background15.77:1AAA pass 3:1
Accent on background9.01: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#FFEC47 (Text 1)#FFEF66 (Text 2)#FFF44F (Text 3)#FFF685 (Text 4)#FFFACD (Text 5)
#FFEC47Same color1.03—1.06—1.08—1.14—
#FFEF661.03—Same color1.03—1.06—1.11—
#FFF44F1.06—1.03—Same color1.03—1.08—
#FFF6851.08—1.06—1.03—Same color1.06—
#FFFACD1.14—1.11—1.08—1.06—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFEC47#FFEF66#FFF44F#FFF685#FFFACD

Variations

About Daffodil Yellow

Daffodil Yellow is a warm yellow palette of 5 colors that runs from off-white #FFFACD to pale yellow #FFEC47. With a hue spread of just 3°, it is effectively monochromatic: #FFEC47, #FFEF66 and #FFF44F differ mostly in lightness. All five colors stay in a narrow light band (93% to 98% lightness, #FFEC47 to #FFFACD), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.140, peaking at 0.177 in #FFF44F); the colors are clear without being loud. In light mode #F9F7EA becomes the background with #574F00 text at 7.7:1, and #827700 takes the primary role. Its monochrome character, led by #FFEC47, suits signage, cheerful landing pages and documentation.

Daffodil Yellow color palette: #FFEC47, #FFEF66, #FFF44F, #FFF685, #FFFACD
Share image for Daffodil Yellow

Gradients in similar colors