PreviewingGo to this paletteOpen in generator
Code
/* Study Sprint — colorset.net */
:root {
--color-1: #FDF7F0;
--color-2: #DD5300;
--color-3: #6DBEBE;
--color-4: #FBCDAA;
--color-5: #221812;
--color-bg: #FDF7F0;
--color-surface: #F4EEE7;
--color-border: #DDD5CB;
--color-text: #221812;
--color-muted: #756861;
--color-primary: #CA4B00;
--color-on-primary: #FFFFFF;
--color-accent: #439595;
--color-on-accent: #221812;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #221812;
--color-surface: #2D231C;
--color-border: #45372F;
--color-text: #FDF7F0;
--color-muted: #97918B;
--color-primary: #CA4B00;
--color-on-primary: #FFFFFF;
--color-accent: #6DBEBE;
--color-on-accent: #221812;
}
}
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 | adjusted for contrast · from #DD5300 | adjusted for contrast · from #DD5300 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6DBEBE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.35:1 | AAA pass 4.5:1 | |
| Text on surface | 15.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.95:1 | AA pass 4.5:1 | |
| Primary on background | 4.37:1 | AA Large pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.35:1 | AAA pass 4.5:1 | |
| Text on surface | 14.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.58:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 8.08:1 | AAA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 8.08: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 | #FDF7F0 (Text 1) | #DD5300 (Text 2) | #6DBEBE (Text 3) | #FBCDAA (Text 4) | #221812 (Text 5) |
|---|---|---|---|---|---|
| #FDF7F0 | Same color | 3.72AA Large | 2.02— | 1.37— | 16.35AAA |
| #DD5300 | 3.72AA Large | Same color | 1.84— | 2.71— | 4.40AA Large |
| #6DBEBE | 2.02— | 1.84— | Same color | 1.48— | 8.08AAA |
| #FBCDAA | 1.37— | 2.71— | 1.48— | Same color | 11.94AAA |
| #221812 | 16.35AAA | 4.40AA Large | 8.08AAA | 11.94AAA | Same color |
Shades
Shades and tints (50–950)
