Export

Code

/* Apricot Yellow — colorset.net */
:root {
  --color-1: #FBB917;
  --color-2: #FFCC5C;
  --color-3: #FFD479;
  --color-4: #FFE0A3;
  --color-5: #FFECCC;

  --color-bg: #FFECCC;
  --color-surface: #FFF4E3;
  --color-border: #E4D4B9;
  --color-text: #664900;
  --color-muted: #766950;
  --color-primary: #B28100;
  --color-on-primary: #000000;
  --color-accent: #988769;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #170E00;
    --color-surface: #211805;
    --color-border: #382C15;
    --color-text: #FFECCC;
    --color-muted: #94856C;
    --color-primary: #FBB917;
    --color-on-primary: #170E00;
    --color-accent: #FFD479;
    --color-on-accent: #170E00;
  }
}

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
Backgroundfrom palette · color 5adjusted for contrast · from #FBB917
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FBB917from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FBB917from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FBB917from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.20:1AAA pass 4.5:1
Text on surface7.67:1AAA pass 4.5:1
Muted text on background4.64:1AA pass 4.5:1
Label on primary6.03:1AA pass 4.5:1
Label on accent6.00:1AA pass 4.5:1
Primary on background3.00:1AA Large pass 3:1
Accent on background3.02:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.49:1AAA pass 4.5:1
Text on surface15.13:1AAA pass 4.5:1
Muted text on background5.30:1AA pass 4.5:1
Label on primary10.97:1AAA pass 4.5:1
Label on accent13.60:1AAA pass 4.5:1
Primary on background10.97:1AAA pass 3:1
Accent on background13.60: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#FBB917 (Text 1)#FFCC5C (Text 2)#FFD479 (Text 3)#FFE0A3 (Text 4)#FFECCC (Text 5)
#FBB917Same color1.17—1.24—1.36—1.50—
#FFCC5C1.17—Same color1.06—1.17—1.29—
#FFD4791.24—1.06—Same color1.10—1.21—
#FFE0A31.36—1.17—1.10—Same color1.10—
#FFECCC1.50—1.29—1.21—1.10—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FBB917#FFCC5C#FFD479#FFE0A3#FFECCC

Variations

About Apricot Yellow

About 93% of the color weight in Apricot Yellow sits in yellow, which makes it a warm palette anchored by pale yellow #FFD479. With a hue spread of just 4°, it is effectively monochromatic: #FBB917, #FFCC5C and #FFD479 differ mostly in lightness. All five colors stay in a narrow light band (83% to 95% lightness, #FBB917 to #FFECCC), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.112, peaking at 0.166 in #FBB917); the colors are clear without being loud. In light mode #FFECCC becomes the background with #664900 text at 7.2:1, and #B28100 takes the primary role. Its pastel and monochrome character, led by #FBB917, suits baby and kids products, wedding stationery and wellness apps.

Apricot Yellow color palette: #FBB917, #FFCC5C, #FFD479, #FFE0A3, #FFECCC
Share image for Apricot Yellow

Gradients in similar colors