PreviewingGo to this paletteOpen in generator
Code
/* Peridot Spring — colorset.net */
:root {
--color-1: #A6D854;
--color-2: #B8E070;
--color-3: #CAE88C;
--color-4: #DCF0A8;
--color-5: #EEF8C4;
--color-bg: #F6F9EA;
--color-surface: #ECEFE1;
--color-border: #D3D7C5;
--color-text: #40561A;
--color-muted: #636F56;
--color-primary: #5A8000;
--color-on-primary: #FFFFFF;
--color-accent: #838B5B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1203;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #EFF6D1;
--color-muted: #878C71;
--color-primary: #A6D854;
--color-on-primary: #0B1203;
--color-accent: #DCF0A8;
--color-on-accent: #0B1203;
}
}
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 #EEF8C4 | adjusted for contrast · from #A6D854 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A6D854 | adjusted for contrast · from #EEF8C4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A6D854 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A6D854 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.03:1 | AAA pass 4.5:1 | |
| Text on surface | 15.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 11.41:1 | AAA pass 4.5:1 | |
| Label on accent | 15.49:1 | AAA pass 4.5:1 | |
| Primary on background | 11.41:1 | AAA pass 3:1 | |
| Accent on background | 15.49: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 | #A6D854 (Text 1) | #B8E070 (Text 2) | #CAE88C (Text 3) | #DCF0A8 (Text 4) | #EEF8C4 (Text 5) |
|---|---|---|---|---|---|
| #A6D854 | Same color | 1.11— | 1.23— | 1.36— | 1.50— |
| #B8E070 | 1.11— | Same color | 1.11— | 1.23— | 1.35— |
| #CAE88C | 1.23— | 1.11— | Same color | 1.11— | 1.22— |
| #DCF0A8 | 1.36— | 1.23— | 1.11— | Same color | 1.10— |
| #EEF8C4 | 1.50— | 1.35— | 1.22— | 1.10— | Same color |
Shades
Shades and tints (50–950)
