Export

Code

/* Citrus Yellow — colorset.net */
:root {
  --color-1: #FFFF00;
  --color-2: #FFD700;
  --color-3: #FFA500;
  --color-4: #FF8C00;
  --color-5: #F0E68C;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #744214;
  --color-muted: #7E6655;
  --color-primary: #CF7000;
  --color-on-primary: #000000;
  --color-accent: #797900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1A0B02;
    --color-surface: #251508;
    --color-border: #3D2919;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #FF8C00;
    --color-on-primary: #1A0B02;
    --color-accent: #FFFF00;
    --color-on-accent: #1A0B02;
  }
}

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 #F0E68Cadjusted for contrast · from #FF8C00
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FF8C00adjusted for contrast · from #F0E68C
Muted textderivedderived
Primaryadjusted for contrast · from #FF8C00from palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #FF8C00from palette · color 1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.72: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 primary5.97:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background4.30:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.64:1AAA pass 4.5:1
Text on surface16.21:1AAA pass 4.5:1
Muted text on background5.57:1AA pass 4.5:1
Label on primary8.24:1AAA pass 4.5:1
Label on accent17.90:1AAA pass 4.5:1
Primary on background8.24:1AAA pass 3:1
Accent on background17.90: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)#FFD700 (Text 2)#FFA500 (Text 3)#FF8C00 (Text 4)#F0E68C (Text 5)
#FFFF00Same color1.31—1.84—2.17—1.19—
#FFD7001.31—Same color1.41—1.66—1.10—
#FFA5001.84—1.41—Same color1.18—1.54—
#FF8C002.17—1.66—1.18—Same color1.82—
#F0E68C1.19—1.10—1.54—1.82—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFF00#FFD700#FFA500#FF8C00#F0E68C

Variations

About Citrus Yellow

Citrus Yellow is a warm yellow-and-orange palette of 5 colors that runs from pale yellow #FFFF00 to light orange #FF8C00. The 5 chromatic colors span 51° of hue, close enough for pale yellow and pale yellow to read as one family. All five colors stay in a narrow light band (75% to 97% lightness, #FF8C00 to #FFFF00), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.171, peaking at 0.211 in #FFFF00); the colors feel saturated and energetic. In light mode #F7F8E9 becomes the background with #744214 text at 7.7:1, and #CF7000 takes the primary role. With #FF8C00 leading, good fits include marketing pages, brand systems with many sub-brands and illustration.

Citrus Yellow color palette: #FFFF00, #FFD700, #FFA500, #FF8C00, #F0E68C
Share image for Citrus Yellow

Gradients in similar colors