PreviewingGo to this paletteOpen in generator
Code
/* Scholar Green — colorset.net */
:root {
--color-1: #F5F3EC;
--color-2: #1F4D3A;
--color-3: #B23A48;
--color-4: #C9B98F;
--color-5: #1C1F1D;
--color-bg: #F5F3EC;
--color-surface: #FCFAF6;
--color-border: #DDDAD0;
--color-text: #1C1F1D;
--color-muted: #6C706E;
--color-primary: #B23A48;
--color-on-primary: #FFFFFF;
--color-accent: #1F4D3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1F1D;
--color-surface: #272A28;
--color-border: #3A403C;
--color-text: #F5F3EC;
--color-muted: #93918B;
--color-primary: #C34A56;
--color-on-primary: #FFFFFF;
--color-accent: #507E68;
--color-on-accent: #FFFFFF;
}
}
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 3 | adjusted for contrast · from #B23A48 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F4D3A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.97:1 | AAA pass 4.5:1 | |
| Text on surface | 15.95:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 9.63:1 | AAA pass 4.5:1 | |
| Primary on background | 5.27:1 | AA pass 3:1 | |
| Accent on background | 8.67:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.97:1 | AAA pass 4.5:1 | |
| Text on surface | 13.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.74:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.51:1 | AA Large pass 3:1 | |
| Accent on background | 3.58:1 | AA Large 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 | #F5F3EC (Text 1) | #1F4D3A (Text 2) | #B23A48 (Text 3) | #C9B98F (Text 4) | #1C1F1D (Text 5) |
|---|---|---|---|---|---|
| #F5F3EC | Same color | 8.67AAA | 5.27AA | 1.75— | 14.97AAA |
| #1F4D3A | 8.67AAA | Same color | 1.65— | 4.96AA | 1.73— |
| #B23A48 | 5.27AA | 1.65— | Same color | 3.01AA Large | 2.84— |
| #C9B98F | 1.75— | 4.96AA | 3.01AA Large | Same color | 8.57AAA |
| #1C1F1D | 14.97AAA | 1.73— | 2.84— | 8.57AAA | Same color |
Shades
Shades and tints (50–950)
