PreviewingGo to this paletteOpen in generator
Code
/* Peridot Spark — colorset.net */
:root {
--color-1: #9ACD32;
--color-2: #ADFF2F;
--color-3: #BFD641;
--color-4: #CCFF00;
--color-5: #E6F878;
--color-bg: #F6F9EA;
--color-surface: #ECEFE0;
--color-border: #D4D7C5;
--color-text: #3F5417;
--color-muted: #636D55;
--color-primary: #548200;
--color-on-primary: #FFFFFF;
--color-accent: #759400;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #E9F0CA;
--color-muted: #84896D;
--color-primary: #ADFF2F;
--color-on-primary: #0B1202;
--color-accent: #9ACD32;
--color-on-accent: #0B1202;
}
}
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 | adjusted for contrast · from #E6F878 | adjusted for contrast · from #9ACD32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9ACD32 | adjusted for contrast · from #E6F878 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9ACD32 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9ACD32 | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 5.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.14:1 | AAA pass 4.5:1 | |
| Text on surface | 14.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 15.54:1 | AAA pass 4.5:1 | |
| Label on accent | 10.12:1 | AAA pass 4.5:1 | |
| Primary on background | 15.54:1 | AAA pass 3:1 | |
| Accent on background | 10.12: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 | #9ACD32 (Text 1) | #ADFF2F (Text 2) | #BFD641 (Text 3) | #CCFF00 (Text 4) | #E6F878 (Text 5) |
|---|---|---|---|---|---|
| #9ACD32 | Same color | 1.54— | 1.16— | 1.60— | 1.62— |
| #ADFF2F | 1.54— | Same color | 1.33— | 1.04— | 1.05— |
| #BFD641 | 1.16— | 1.33— | Same color | 1.38— | 1.40— |
| #CCFF00 | 1.60— | 1.04— | 1.38— | Same color | 1.01— |
| #E6F878 | 1.62— | 1.05— | 1.40— | 1.01— | Same color |
Shades
Shades and tints (50–950)
