Export

Code

/* Sun Yellow — colorset.net */
:root {
  --color-1: #FFD700;
  --color-2: #FFA500;
  --color-3: #FF8C00;
  --color-4: #FFFF99;
  --color-5: #FFFACD;

  --color-bg: #F8F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D6D6C4;
  --color-text: #744214;
  --color-muted: #7E6655;
  --color-primary: #CF7000;
  --color-on-primary: #000000;
  --color-accent: #7B7900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1A0B02;
    --color-surface: #251508;
    --color-border: #3D2919;
    --color-text: #FAFBD5;
    --color-muted: #8D8E72;
    --color-primary: #FF8C00;
    --color-on-primary: #1A0B02;
    --color-accent: #FFFF99;
    --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 #FFFACDadjusted for contrast · from #FF8C00
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FF8C00adjusted for contrast · from #FFFACD
Muted textderivedderived
Primaryadjusted for contrast · from #FF8C00from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #FF8C00from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.74:1AAA pass 4.5:1
Text on surface7.13:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.97:1AA pass 4.5:1
Label on accent4.59:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background4.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.14:1AAA pass 4.5:1
Text on surface16.67:1AAA pass 4.5:1
Muted text on background5.72:1AA pass 4.5:1
Label on primary8.24:1AAA pass 4.5:1
Label on accent18.32:1AAA pass 4.5:1
Primary on background8.24:1AAA pass 3:1
Accent on background18.32: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#FFD700 (Text 1)#FFA500 (Text 2)#FF8C00 (Text 3)#FFFF99 (Text 4)#FFFACD (Text 5)
#FFD700Same color1.41—1.66—1.34—1.32—
#FFA5001.41—Same color1.18—1.88—1.86—
#FF8C001.66—1.18—Same color2.22—2.20—
#FFFF991.34—1.88—2.22—Same color1.01—
#FFFACD1.32—1.86—2.20—1.01—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFD700#FFA500#FF8C00#FFFF99#FFFACD

Variations

About Sun Yellow

Five colors make up Sun Yellow, a warm orange-and-yellow set: #FFD700, #FFA500, #FF8C00, #FFFF99, #FFFACD. Its hues are neighbors on the color wheel (50° apart at most), so #FFD700 and #FFFACD form a calm analogous harmony. From #FF8C00 to #FFFF99 the colors share a similar light value (lightness 75%–98%), which suits fills and illustration more than body text. Average chroma is 0.143, medium for a palette, so the colors are clear without being loud; the most saturated color is #FFD700. In light mode #F8F8E9 becomes the background with #744214 text at 7.7:1, and #CF7000 takes the primary role. Try it for marketing pages, brand systems with many sub-brands and data visualization, letting light orange #FF8C00 carry the key actions.

Sun Yellow color palette: #FFD700, #FFA500, #FF8C00, #FFFF99, #FFFACD
Share image for Sun Yellow

Gradients in similar colors