Export

Code

/* Primrose Yellow — colorset.net */
:root {
  --color-1: #EDDA74;
  --color-2: #F4E87C;
  --color-3: #FFF3A1;
  --color-4: #FFF7BA;
  --color-5: #FFFBD4;

  --color-bg: #F8F7EC;
  --color-surface: #EFEEE3;
  --color-border: #D7D6C7;
  --color-text: #5A4E00;
  --color-muted: #706B50;
  --color-primary: #877600;
  --color-on-primary: #FFFFFF;
  --color-accent: #8C8865;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #130F00;
    --color-surface: #1D1A05;
    --color-border: #332E16;
    --color-text: #FFFBD4;
    --color-muted: #918E72;
    --color-primary: #EDDA74;
    --color-on-primary: #130F00;
    --color-accent: #FFF3A1;
    --color-on-accent: #130F00;
  }
}

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 #FFFBD4adjusted for contrast · from #EDDA74
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #EDDA74from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #EDDA74from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #EDDA74from palette · color 3
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 background4.99:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent5.82:1AA pass 4.5:1
Primary on background4.22:1AA Large pass 3:1
Accent on background3.35:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.25:1AAA pass 4.5:1
Text on surface16.64:1AAA pass 4.5:1
Muted text on background5.76:1AA pass 4.5:1
Label on primary13.58:1AAA pass 4.5:1
Label on accent16.96:1AAA pass 4.5:1
Primary on background13.58:1AAA pass 3:1
Accent on background16.96: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#EDDA74 (Text 1)#F4E87C (Text 2)#FFF3A1 (Text 3)#FFF7BA (Text 4)#FFFBD4 (Text 5)
#EDDA74Same color1.12—1.25—1.29—1.34—
#F4E87C1.12—Same color1.11—1.15—1.20—
#FFF3A11.25—1.11—Same color1.04—1.08—
#FFF7BA1.29—1.15—1.04—Same color1.04—
#FFFBD41.34—1.20—1.08—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#EDDA74#F4E87C#FFF3A1#FFF7BA#FFFBD4

Variations

About Primrose Yellow

Primrose Yellow is a warm yellow palette of 5 colors that runs from off-white #FFFBD4 to pale yellow #EDDA74. With a hue spread of just 4°, it is effectively monochromatic: #EDDA74, #F4E87C and #FFF3A1 differ mostly in lightness. All five colors stay in a narrow light band (88% to 98% lightness, #EDDA74 to #FFFBD4), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.097, peaking at 0.130 in #F4E87C); the colors are clear without being loud. Text contrast reaches 7.7:1 in light mode and 18.2:1 in dark mode, with #877600 as primary and #8C8865 as accent. Its pastel and monochrome character, led by #EDDA74, suits lifestyle blogs, stationery and meditation apps.

Primrose Yellow color palette: #EDDA74, #F4E87C, #FFF3A1, #FFF7BA, #FFFBD4
Share image for Primrose Yellow

Gradients in similar colors