PreviewingGo to this paletteOpen in generator
Code
/* Chalkboard — colorset.net */
:root {
--color-1: #13261E;
--color-2: #F0D777;
--color-3: #EA808A;
--color-4: #355547;
--color-5: #F0EFE7;
--color-bg: #F0EFE7;
--color-surface: #F7F6F1;
--color-border: #D8D7CB;
--color-text: #13261E;
--color-muted: #5B7066;
--color-primary: #D26A75;
--color-on-primary: #13261E;
--color-accent: #355547;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #13261E;
--color-surface: #1E3129;
--color-border: #30483E;
--color-text: #F0EFE7;
--color-muted: #95948D;
--color-primary: #EA808A;
--color-on-primary: #13261E;
--color-accent: #5C7D6E;
--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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EA808A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #355547 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.75:1 | AAA pass 4.5:1 | |
| Text on surface | 14.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 8.26:1 | AAA pass 4.5:1 | |
| Primary on background | 3.00:1 | AA Large pass 3:1 | |
| Accent on background | 7.16:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.75:1 | AAA pass 4.5:1 | |
| Text on surface | 11.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 6.01:1 | AA pass 3:1 | |
| Accent on background | 3.49: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 | #13261E (Text 1) | #F0D777 (Text 2) | #EA808A (Text 3) | #355547 (Text 4) | #F0EFE7 (Text 5) |
|---|---|---|---|---|---|
| #13261E | Same color | 11.10AAA | 6.01AA | 1.92— | 13.75AAA |
| #F0D777 | 11.10AAA | Same color | 1.85— | 5.78AA | 1.24— |
| #EA808A | 6.01AA | 1.85— | Same color | 3.13AA Large | 2.29— |
| #355547 | 1.92— | 5.78AA | 3.13AA Large | Same color | 7.16AAA |
| #F0EFE7 | 13.75AAA | 1.24— | 2.29— | 7.16AAA | Same color |
Shades
Shades and tints (50–950)
