PreviewingGo to this paletteOpen in generator
Code
/* Peridot Green — colorset.net */
:root {
--color-1: #E6E200;
--color-2: #F0EC1A;
--color-3: #FAF634;
--color-4: #FFFF4D;
--color-5: #FFFF80;
--color-bg: #F7F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D7C4;
--color-text: #514F00;
--color-muted: #6B6B51;
--color-primary: #7A7800;
--color-on-primary: #FFFFFF;
--color-accent: #8F8D00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111001;
--color-surface: #1B1B06;
--color-border: #2F2F17;
--color-text: #F9FAD4;
--color-muted: #8D8E72;
--color-primary: #E6E200;
--color-on-primary: #111001;
--color-accent: #FFFF4D;
--color-on-accent: #111001;
}
}
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 #FFFF80 | adjusted for contrast · from #E6E200 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E6E200 | adjusted for contrast · from #FFFF80 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E6E200 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E6E200 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.92:1 | AAA pass 4.5:1 | |
| Text on surface | 7.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.89:1 | AAA pass 4.5:1 | |
| Text on surface | 16.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.69:1 | AA pass 4.5:1 | |
| Label on primary | 13.88:1 | AAA pass 4.5:1 | |
| Label on accent | 17.90:1 | AAA pass 4.5:1 | |
| Primary on background | 13.88:1 | AAA pass 3:1 | |
| Accent on background | 17.90: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 | #E6E200 (Text 1) | #F0EC1A (Text 2) | #FAF634 (Text 3) | #FFFF4D (Text 4) | #FFFF80 (Text 5) |
|---|---|---|---|---|---|
| #E6E200 | Same color | 1.10— | 1.20— | 1.29— | 1.30— |
| #F0EC1A | 1.10— | Same color | 1.09— | 1.18— | 1.19— |
| #FAF634 | 1.20— | 1.09— | Same color | 1.07— | 1.09— |
| #FFFF4D | 1.29— | 1.18— | 1.07— | Same color | 1.01— |
| #FFFF80 | 1.30— | 1.19— | 1.09— | 1.01— | Same color |
Shades
Shades and tints (50–950)
