Export

Code

/* Electric Yellow — colorset.net */
:root {
  --color-1: #FFFF00;
  --color-2: #FFFF1A;
  --color-3: #FFFF33;
  --color-4: #FFFF4D;
  --color-5: #FFFF66;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D6D7C4;
  --color-text: #505002;
  --color-muted: #6B6C51;
  --color-primary: #797900;
  --color-on-primary: #FFFFFF;
  --color-accent: #484800;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #101101;
    --color-surface: #1A1B06;
    --color-border: #2F3017;
    --color-text: #F8F9D3;
    --color-muted: #8C8D71;
    --color-primary: #FFFF00;
    --color-on-primary: #101101;
    --color-accent: #C5C500;
    --color-on-accent: #101101;
  }
}

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 #FFFF66adjusted for contrast · from #FFFF66
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFFF66adjusted for contrast · from #FFFF66
Muted textderivedderived
Primaryadjusted for contrast · from #FFFF66from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFFF66adjusted for contrast · from #FFFF4D
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.25:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent9.53:1AAA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background8.88:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.67:1AAA pass 4.5:1
Text on surface16.19:1AAA pass 4.5:1
Muted text on background5.59:1AA pass 4.5:1
Label on primary17.74:1AAA pass 4.5:1
Label on accent10.30:1AAA pass 4.5:1
Primary on background17.74:1AAA pass 3:1
Accent on background10.30: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#FFFF00 (Text 1)#FFFF1A (Text 2)#FFFF33 (Text 3)#FFFF4D (Text 4)#FFFF66 (Text 5)
#FFFF00Same color1.00—1.00—1.01—1.01—
#FFFF1A1.00—Same color1.00—1.00—1.01—
#FFFF331.00—1.00—Same color1.00—1.01—
#FFFF4D1.01—1.00—1.00—Same color1.00—
#FFFF661.01—1.01—1.01—1.00—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFF00#FFFF1A#FFFF33#FFFF4D#FFFF66

Variations

About Electric Yellow

Electric Yellow is a warm yellow palette of 5 colors that runs from pale yellow #FFFF66 to pale yellow #FFFF00. With a hue spread of just 1°, it is effectively monochromatic: #FFFF00, #FFFF1A and #FFFF33 differ mostly in lightness. All five colors stay in a narrow light band (97% to 97% lightness, #FFFF00 to #FFFF66), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.196, peaking at 0.211 in #FFFF00); the colors feel saturated and energetic. As a UI theme it uses #797900 for primary actions and #484800 as the accent; dark mode sits on #101101 with #F8F9D3 text (17.7:1). Its vivid and monochrome character, led by #FFFF00, suits minimal branding, focused single-product sites and signage.

These colors are almost the same as Lemon Peel.

Electric Yellow color palette: #FFFF00, #FFFF1A, #FFFF33, #FFFF4D, #FFFF66
Share image for Electric Yellow

Gradients in similar colors