PreviewingGo to this paletteOpen in generator
Code
/* Lemon Soft — colorset.net */
:root {
--color-1: #FFF799;
--color-2: #FFFACD;
--color-3: #FFFDE0;
--color-4: #FFFEF3;
--color-5: #FFFFF8;
--color-bg: #FFFFF8;
--color-surface: #F6F6EF;
--color-border: #DDDDD3;
--color-text: #5C5508;
--color-muted: #747257;
--color-primary: #999030;
--color-on-primary: #000000;
--color-accent: #8C8C86;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1C1A06;
--color-border: #312F16;
--color-text: #FFFFF8;
--color-muted: #909089;
--color-primary: #FFF799;
--color-on-primary: #121000;
--color-accent: #C5BF72;
--color-on-accent: #121000;
}
}
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 5 | adjusted for contrast · from #FFF799 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFF799 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFF799 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFF799 | adjusted for contrast · from #FFF799 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.58:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 6.21:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.01:1 | AAA pass 4.5:1 | |
| Text on surface | 17.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.94:1 | AA pass 4.5:1 | |
| Label on primary | 17.29:1 | AAA pass 4.5:1 | |
| Label on accent | 10.06:1 | AAA pass 4.5:1 | |
| Primary on background | 17.29:1 | AAA pass 3:1 | |
| Accent on background | 10.06:1 | AAA 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 | #FFF799 (Text 1) | #FFFACD (Text 2) | #FFFDE0 (Text 3) | #FFFEF3 (Text 4) | #FFFFF8 (Text 5) |
|---|---|---|---|---|---|
| #FFF799 | Same color | 1.04— | 1.07— | 1.09— | 1.10— |
| #FFFACD | 1.04— | Same color | 1.03— | 1.05— | 1.06— |
| #FFFDE0 | 1.07— | 1.03— | Same color | 1.02— | 1.03— |
| #FFFEF3 | 1.09— | 1.05— | 1.02— | Same color | 1.01— |
| #FFFFF8 | 1.10— | 1.06— | 1.03— | 1.01— | Same color |
Shades
Shades and tints (50–950)
