PreviewingGo to this paletteOpen in generator
Code
/* Ledger Green — colorset.net */
:root {
--color-1: #F2F7F0;
--color-2: #185B37;
--color-3: #D2B27C;
--color-4: #62946C;
--color-5: #001708;
--color-bg: #F2F7F0;
--color-surface: #FBFEF9;
--color-border: #D8DFD5;
--color-text: #001708;
--color-muted: #556E5C;
--color-primary: #62946C;
--color-on-primary: #001708;
--color-accent: #A88A55;
--color-on-accent: #001708;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001708;
--color-surface: #072212;
--color-border: #1F3627;
--color-text: #F2F7F0;
--color-muted: #898D87;
--color-primary: #62946C;
--color-on-primary: #001708;
--color-accent: #D2B27C;
--color-on-accent: #001708;
}
}
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 | from palette · color 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #62946C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.17:1 | AAA pass 4.5:1 | |
| Text on surface | 18.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 5.30:1 | AA pass 4.5:1 | |
| Label on accent | 5.71:1 | AA pass 4.5:1 | |
| Primary on background | 3.24:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.17:1 | AAA pass 4.5:1 | |
| Text on surface | 15.51:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.53:1 | AA pass 4.5:1 | |
| Label on primary | 5.30:1 | AA pass 4.5:1 | |
| Label on accent | 9.24:1 | AAA pass 4.5:1 | |
| Primary on background | 5.30:1 | AA pass 3:1 | |
| Accent on background | 9.24: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 | #F2F7F0 (Text 1) | #185B37 (Text 2) | #D2B27C (Text 3) | #62946C (Text 4) | #001708 (Text 5) |
|---|---|---|---|---|---|
| #F2F7F0 | Same color | 7.47AAA | 1.86— | 3.24AA Large | 17.17AAA |
| #185B37 | 7.47AAA | Same color | 4.01AA Large | 2.31— | 2.30— |
| #D2B27C | 1.86— | 4.01AA Large | Same color | 1.74— | 9.24AAA |
| #62946C | 3.24AA Large | 2.31— | 1.74— | Same color | 5.30AA |
| #001708 | 17.17AAA | 2.30— | 9.24AAA | 5.30AA | Same color |
Shades
Shades and tints (50–950)
