PreviewingGo to this paletteOpen in generator
Code
/* Jade Fan — colorset.net */
:root {
--color-1: #0F2A26;
--color-2: #E3B65A;
--color-3: #D97C6A;
--color-4: #234640;
--color-5: #F0E8D6;
--color-bg: #F0E8D6;
--color-surface: #F4F0E5;
--color-border: #D9CFBA;
--color-text: #0F2A26;
--color-muted: #526E69;
--color-primary: #B45B4A;
--color-on-primary: #FFFFFF;
--color-accent: #234640;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091110;
--color-surface: #131C1A;
--color-border: #24312F;
--color-text: #F0E8D6;
--color-muted: #8A8373;
--color-primary: #D97C6A;
--color-on-primary: #091110;
--color-accent: #496D66;
--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 | adjusted for contrast · from #0F2A26 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D97C6A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #234640 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.48:1 | AAA pass 4.5:1 | |
| Text on surface | 13.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 10.39:1 | AAA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 8.52:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.66:1 | AAA pass 4.5:1 | |
| Text on surface | 14.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.41:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 6.41:1 | AA pass 3:1 | |
| Accent on background | 3.33: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 | #0F2A26 (Text 1) | #E3B65A (Text 2) | #D97C6A (Text 3) | #234640 (Text 4) | #F0E8D6 (Text 5) |
|---|---|---|---|---|---|
| #0F2A26 | Same color | 8.05AAA | 5.10AA | 1.47— | 12.48AAA |
| #E3B65A | 8.05AAA | Same color | 1.58— | 5.49AA | 1.55— |
| #D97C6A | 5.10AA | 1.58— | Same color | 3.48AA Large | 2.45— |
| #234640 | 1.47— | 5.49AA | 3.48AA Large | Same color | 8.52AAA |
| #F0E8D6 | 12.48AAA | 1.55— | 2.45— | 8.52AAA | Same color |
Shades
Shades and tints (50–950)
