PreviewingGo to this paletteOpen in generator
Code
/* Pear Green — colorset.net */
:root {
--color-1: #95D600;
--color-2: #A8E519;
--color-3: #BBF433;
--color-4: #CEFF4D;
--color-5: #E1FF80;
--color-bg: #F5F9EA;
--color-surface: #EBF0E1;
--color-border: #D2D8C6;
--color-text: #3C5418;
--color-muted: #647057;
--color-primary: #588100;
--color-on-primary: #FFFFFF;
--color-accent: #7B9300;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1203;
--color-surface: #151D0A;
--color-border: #28321C;
--color-text: #EAF5D0;
--color-muted: #848B70;
--color-primary: #95D600;
--color-on-primary: #0B1203;
--color-accent: #E1FF80;
--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 #E1FF80 | adjusted for contrast · from #95D600 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #95D600 | adjusted for contrast · from #E1FF80 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #95D600 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #95D600 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.93:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 6.02:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.76:1 | AAA pass 4.5:1 | |
| Text on surface | 15.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 10.79:1 | AAA pass 4.5:1 | |
| Label on accent | 17.07:1 | AAA pass 4.5:1 | |
| Primary on background | 10.79:1 | AAA pass 3:1 | |
| Accent on background | 17.07: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 | #95D600 (Text 1) | #A8E519 (Text 2) | #BBF433 (Text 3) | #CEFF4D (Text 4) | #E1FF80 (Text 5) |
|---|---|---|---|---|---|
| #95D600 | Same color | 1.17— | 1.35— | 1.52— | 1.58— |
| #A8E519 | 1.17— | Same color | 1.16— | 1.30— | 1.36— |
| #BBF433 | 1.35— | 1.16— | Same color | 1.12— | 1.17— |
| #CEFF4D | 1.52— | 1.30— | 1.12— | Same color | 1.04— |
| #E1FF80 | 1.58— | 1.36— | 1.17— | 1.04— | Same color |
Shades
Shades and tints (50–950)
