PreviewingGo to this paletteOpen in generator
Code
/* Acid Lemon — colorset.net */
:root {
--color-1: #0C0C04;
--color-2: #F2ED00;
--color-3: #76F33D;
--color-4: #ED38C1;
--color-5: #F4F3DD;
--color-bg: #F4F3DD;
--color-surface: #FAFAEC;
--color-border: #DCDAC1;
--color-text: #0C0C04;
--color-muted: #616255;
--color-primary: #D719AE;
--color-on-primary: #FFFFFF;
--color-accent: #409F00;
--color-on-accent: #0C0C04;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C0C04;
--color-surface: #16160C;
--color-border: #2A2A1C;
--color-text: #F4F3DD;
--color-muted: #888773;
--color-primary: #D719AE;
--color-on-primary: #FFFFFF;
--color-accent: #76F33D;
--color-on-accent: #0C0C04;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #ED38C1 | adjusted for contrast · from #ED38C1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #76F33D | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 18.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.03:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.49:1 | AAA pass 4.5:1 | |
| Text on surface | 16.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 13.70:1 | AAA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 13.70: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 | #0C0C04 (Text 1) | #F2ED00 (Text 2) | #76F33D (Text 3) | #ED38C1 (Text 4) | #F4F3DD (Text 5) |
|---|---|---|---|---|---|
| #0C0C04 | Same color | 15.78AAA | 13.70AAA | 5.55AA | 17.49AAA |
| #F2ED00 | 15.78AAA | Same color | 1.15— | 2.84— | 1.11— |
| #76F33D | 13.70AAA | 1.15— | Same color | 2.47— | 1.28— |
| #ED38C1 | 5.55AA | 2.84— | 2.47— | Same color | 3.15AA Large |
| #F4F3DD | 17.49AAA | 1.11— | 1.28— | 3.15AA Large | Same color |
Shades
Shades and tints (50–950)
