PreviewingGo to this paletteOpen in generator
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
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | from palette · color 1 | adjusted for contrast · from #312F12 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B0A946 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AF6F8E | adjusted for contrast · from #AF6F8E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.06:1 | AAA pass 4.5:1 | |
| Text on surface | 12.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.10:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 4.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.36:1 | AAA pass 4.5:1 | |
| Text on surface | 16.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 7.83:1 | AAA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 7.83:1 | AAA pass 3:1 | |
| Accent on background | 4.22:1 | AA 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.
| Background / Text | #FCFBEF (Text 1) | #F0D862 (Text 2) | #AF6F8E (Text 3) | #B0A946 (Text 4) | #312F12 (Text 5) |
|---|---|---|---|---|---|
| #FCFBEF | Same color | 1.37— | 3.68AA Large | 2.34— | 13.06AAA |
| #F0D862 | 1.37— | Same color | 2.68— | 1.71— | 9.51AAA |
| #AF6F8E | 3.68AA Large | 2.68— | Same color | 1.57— | 3.55AA Large |
| #B0A946 | 2.34— | 1.71— | 1.57— | Same color | 5.57AA |
| #312F12 | 13.06AAA | 9.51AAA | 3.55AA Large | 5.57AA | Same color |
Shades
Shades and tints (50–950)
