Export

Code

/* Citron Peel — colorset.net */
:root {
  --color-1: #BCBD22;
  --color-2: #D4D700;
  --color-3: #E4E633;
  --color-4: #F0F066;
  --color-5: #FAFA99;

  --color-bg: #F8F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D6D6C4;
  --color-text: #515205;
  --color-muted: #6B6D52;
  --color-primary: #787A00;
  --color-on-primary: #FFFFFF;
  --color-accent: #8D8E00;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #101101;
    --color-surface: #1A1B07;
    --color-border: #2F3017;
    --color-text: #F6F7D0;
    --color-muted: #8B8C70;
    --color-primary: #D4D700;
    --color-on-primary: #101101;
    --color-accent: #FAFA99;
    --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 #FAFA99adjusted for contrast · from #BCBD22
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #BCBD22adjusted for contrast · from #FAFA99
Muted textderivedderived
Primaryadjusted for contrast · from #BCBD22from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #BCBD22from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.66:1AAA pass 4.5:1
Text on surface7.06:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary4.58:1AA pass 4.5:1
Label on accent6.00:1AA pass 4.5:1
Primary on background4.28:1AA Large pass 3:1
Accent on background3.26:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.35:1AAA pass 4.5:1
Text on surface15.89:1AAA pass 4.5:1
Muted text on background5.52:1AA pass 4.5:1
Label on primary12.26:1AAA pass 4.5:1
Label on accent17.41:1AAA pass 4.5:1
Primary on background12.26:1AAA pass 3:1
Accent on background17.41: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#BCBD22 (Text 1)#D4D700 (Text 2)#E4E633 (Text 3)#F0F066 (Text 4)#FAFA99 (Text 5)
#BCBD22Same color1.29—1.50—1.66—1.84—
#D4D7001.29—Same color1.16—1.28—1.42—
#E4E6331.50—1.16—Same color1.11—1.23—
#F0F0661.66—1.28—1.11—Same color1.11—
#FAFA991.84—1.42—1.23—1.11—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#BCBD22#D4D700#E4E633#F0F066#FAFA99

Variations

About Citron Peel

Nearly all of the color weight in Citron Peel sits in yellow, which makes it a warm palette anchored by pale yellow #E4E633. With a hue spread of just 2°, it is effectively monochromatic: #BCBD22, #D4D700 and #E4E633 differ mostly in lightness. All five colors stay in a narrow light band (77% to 96% lightness, #BCBD22 to #FAFA99), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.162, peaking at 0.186 in #D4D700); the colors feel saturated and energetic. Text contrast reaches 7.7:1 in light mode and 17.4:1 in dark mode, with #787A00 as primary and #8D8E00 as accent. Its vivid and monochrome character, led by #D4D700, suits typography-led layouts, minimal branding and focused single-product sites.

Citron Peel color palette: #BCBD22, #D4D700, #E4E633, #F0F066, #FAFA99
Share image for Citron Peel

Gradients in similar colors