Export

Code

/* Lemon Tart — colorset.net */
:root {
  --color-1: #FCFBEF;
  --color-2: #F0D862;
  --color-3: #AF6F8E;
  --color-4: #B0A946;
  --color-5: #312F12;

  --color-bg: #FCFBEF;
  --color-surface: #F3F2E6;
  --color-border: #DAD9CA;
  --color-text: #312F12;
  --color-muted: #6E6D52;
  --color-primary: #948D25;
  --color-on-primary: #000000;
  --color-accent: #A26382;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #101007;
    --color-surface: #1B1A10;
    --color-border: #2F2F21;
    --color-text: #FCFBEF;
    --color-muted: #8F8E83;
    --color-primary: #B0A946;
    --color-on-primary: #101007;
    --color-accent: #A26382;
    --color-on-accent: #FFFFFF;
  }
}

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 1adjusted for contrast · from #312F12
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #B0A946from palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #AF6F8Eadjusted for contrast · from #AF6F8E
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.06:1AAA pass 4.5:1
Text on surface12.07:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary6.10:1AA pass 4.5:1
Label on accent4.52:1AA pass 4.5:1
Primary on background3.31:1AA Large pass 3:1
Accent on background4.35:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.36:1AAA pass 4.5:1
Text on surface16.79:1AAA pass 4.5:1
Muted text on background5.79:1AA pass 4.5:1
Label on primary7.83:1AAA pass 4.5:1
Label on accent4.52:1AA pass 4.5:1
Primary on background7.83:1AAA pass 3:1
Accent on background4.22:1AA Large 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#FCFBEF (Text 1)#F0D862 (Text 2)#AF6F8E (Text 3)#B0A946 (Text 4)#312F12 (Text 5)
#FCFBEFSame color1.37—3.68AA Large2.34—13.06AAA
#F0D8621.37—Same color2.68—1.71—9.51AAA
#AF6F8E3.68AA Large2.68—Same color1.57—3.55AA Large
#B0A9462.34—1.71—1.57—Same color5.57AA
#312F1213.06AAA9.51AAA3.55AA Large5.57AASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FCFBEF#F0D862#AF6F8E#B0A946#312F12

Variations

About Lemon Tart

Lemon curd and a raspberry accent, bright and sweet for dessert cafés. Five colors make up Lemon Tart, a warm yellow set: #FCFBEF, #F0D862, #AF6F8E, #B0A946, #312F12. Pink #AF6F8E and deep yellow #312F12 are 116° apart, so the palette has clear hue contrast without clashing. A 69-point lightness range (30% for #312F12 to 99% for #FCFBEF) gives strong value contrast, useful for text on background. Average chroma is 0.082, low for a palette, so the colors feel soft and muted; the most saturated color is #F0D862. As a UI theme it uses #948D25 for primary actions and #A26382 as the accent; dark mode sits on #101007 with #FCFBEF text (18.4:1). With #B0A946 leading, good fits include sustainable fashion, interior design and outdoor gear.

Lemon Tart color palette: #FCFBEF, #F0D862, #AF6F8E, #B0A946, #312F12
Share image for Lemon Tart

Gradients in similar colors