PreviewingGo to this paletteOpen in generator
Code
/* Peridot Light — colorset.net */
:root {
--color-1: #D4ED91;
--color-2: #E0F2A1;
--color-3: #ECF7B1;
--color-4: #F5FCC2;
--color-5: #FCFFD4;
--color-bg: #F7F8EB;
--color-surface: #EEEFE2;
--color-border: #D5D6C6;
--color-text: #455311;
--color-muted: #666D53;
--color-primary: #697E1F;
--color-on-primary: #FFFFFF;
--color-accent: #898C65;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1202;
--color-surface: #171C09;
--color-border: #2B311A;
--color-text: #FCFFD8;
--color-muted: #8E9074;
--color-primary: #D4ED91;
--color-on-primary: #0D1202;
--color-accent: #A0B469;
--color-on-accent: #0D1202;
}
}
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 #FCFFD4 | adjusted for contrast · from #D4ED91 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #D4ED91 | adjusted for contrast · from #FCFFD4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D4ED91 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D4ED91 | adjusted for contrast · from #D4ED91 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.84:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.50:1 | AAA pass 4.5:1 | |
| Text on surface | 16.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.79:1 | AA pass 4.5:1 | |
| Label on primary | 14.78:1 | AAA pass 4.5:1 | |
| Label on accent | 8.35:1 | AAA pass 4.5:1 | |
| Primary on background | 14.78:1 | AAA pass 3:1 | |
| Accent on background | 8.35: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 | #D4ED91 (Text 1) | #E0F2A1 (Text 2) | #ECF7B1 (Text 3) | #F5FCC2 (Text 4) | #FCFFD4 (Text 5) |
|---|---|---|---|---|---|
| #D4ED91 | Same color | 1.07— | 1.13— | 1.20— | 1.25— |
| #E0F2A1 | 1.07— | Same color | 1.06— | 1.13— | 1.17— |
| #ECF7B1 | 1.13— | 1.06— | Same color | 1.06— | 1.10— |
| #F5FCC2 | 1.20— | 1.13— | 1.06— | Same color | 1.04— |
| #FCFFD4 | 1.25— | 1.17— | 1.10— | 1.04— | Same color |
Shades
Shades and tints (50–950)
