PreviewingGo to this paletteOpen in generator
Code
/* Pear Orchard — colorset.net */
:root {
--color-1: #8DB600;
--color-2: #A3CC47;
--color-3: #B6D94C;
--color-4: #C8E66D;
--color-5: #DAFFA3;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #435516;
--color-muted: #656E55;
--color-primary: #617E00;
--color-on-primary: #FFFFFF;
--color-accent: #384A00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C1202;
--color-surface: #161C09;
--color-border: #29311A;
--color-text: #E7F6D2;
--color-muted: #818C72;
--color-primary: #8DB600;
--color-on-primary: #0C1202;
--color-accent: #DAFFA3;
--color-on-accent: #0C1202;
}
}
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 #DAFFA3 | adjusted for contrast · from #8DB600 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8DB600 | adjusted for contrast · from #DAFFA3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8DB600 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8DB600 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.72:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 9.78:1 | AAA pass 4.5:1 | |
| Primary on background | 4.38:1 | AA Large pass 3:1 | |
| Accent on background | 9.17:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.78:1 | AAA pass 4.5:1 | |
| Text on surface | 15.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 8.00:1 | AAA pass 4.5:1 | |
| Label on accent | 17.06:1 | AAA pass 4.5:1 | |
| Primary on background | 8.00:1 | AAA pass 3:1 | |
| Accent on background | 17.06: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 | #8DB600 (Text 1) | #A3CC47 (Text 2) | #B6D94C (Text 3) | #C8E66D (Text 4) | #DAFFA3 (Text 5) |
|---|---|---|---|---|---|
| #8DB600 | Same color | 1.28— | 1.48— | 1.70— | 2.13— |
| #A3CC47 | 1.28— | Same color | 1.15— | 1.33— | 1.67— |
| #B6D94C | 1.48— | 1.15— | Same color | 1.15— | 1.45— |
| #C8E66D | 1.70— | 1.33— | 1.15— | Same color | 1.25— |
| #DAFFA3 | 2.13— | 1.67— | 1.45— | 1.25— | Same color |
Shades
Shades and tints (50–950)
