PreviewingGo to this paletteOpen in generator
Code
/* API Docs — colorset.net */
:root {
--color-1: #FAFAF7;
--color-2: #0F7B6C;
--color-3: #DB6B2A;
--color-4: #D6E4E1;
--color-5: #1C2422;
--color-bg: #FAFAF7;
--color-surface: #F1F1EE;
--color-border: #D8D8D2;
--color-text: #1C2422;
--color-muted: #656E6C;
--color-primary: #DB6B2A;
--color-on-primary: #1C2422;
--color-accent: #0F7B6C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C2422;
--color-surface: #272F2D;
--color-border: #394643;
--color-text: #FAFAF7;
--color-muted: #979795;
--color-primary: #DB6B2A;
--color-on-primary: #1C2422;
--color-accent: #208475;
--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 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0F7B6C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.16:1 | AAA pass 4.5:1 | |
| Text on surface | 14.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.16:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.93:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.16:1 | AAA pass 4.5:1 | |
| Text on surface | 13.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.64: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 | #FAFAF7 (Text 1) | #0F7B6C (Text 2) | #DB6B2A (Text 3) | #D6E4E1 (Text 4) | #1C2422 (Text 5) |
|---|---|---|---|---|---|
| #FAFAF7 | Same color | 4.93AA | 3.27AA Large | 1.25— | 15.16AAA |
| #0F7B6C | 4.93AA | Same color | 1.51— | 3.94AA Large | 3.07AA Large |
| #DB6B2A | 3.27AA Large | 1.51— | Same color | 2.61— | 4.64AA |
| #D6E4E1 | 1.25— | 3.94AA Large | 2.61— | Same color | 12.11AAA |
| #1C2422 | 15.16AAA | 3.07AA Large | 4.64AA | 12.11AAA | Same color |
Shades
Shades and tints (50–950)
