PreviewingGo to this paletteOpen in generator
Code
/* Amalfi Lemon — colorset.net */
:root {
--color-1: #FCFBEF;
--color-2: #F0D947;
--color-3: #2B6991;
--color-4: #AAA23F;
--color-5: #1D2A37;
--color-bg: #FCFBEF;
--color-surface: #F3F2E6;
--color-border: #DAD9CA;
--color-text: #1D2A37;
--color-muted: #606F7F;
--color-primary: #958C25;
--color-on-primary: #000000;
--color-accent: #2B6991;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1014;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #FCFBEF;
--color-muted: #8F8E83;
--color-primary: #AAA23F;
--color-on-primary: #0B1014;
--color-accent: #2E6C94;
--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 #1D2A37 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AAA23F | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #2B6991 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.03:1 | AAA pass 4.5:1 | |
| Text on surface | 12.97:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 5.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 5.71:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.38:1 | AAA pass 4.5:1 | |
| Text on surface | 16.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 7.24:1 | AAA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 7.24:1 | AAA pass 3:1 | |
| Accent on background | 3.36: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) | #F0D947 (Text 2) | #2B6991 (Text 3) | #AAA23F (Text 4) | #1D2A37 (Text 5) |
|---|---|---|---|---|---|
| #FCFBEF | Same color | 1.37— | 5.71AA | 2.54— | 14.03AAA |
| #F0D947 | 1.37— | Same color | 4.17AA Large | 1.85— | 10.23AAA |
| #2B6991 | 5.71AA | 4.17AA Large | Same color | 2.25— | 2.46— |
| #AAA23F | 2.54— | 1.85— | 2.25— | Same color | 5.53AA |
| #1D2A37 | 14.03AAA | 10.23AAA | 2.46— | 5.53AA | Same color |
Shades
Shades and tints (50–950)
