PreviewingGo to this paletteOpen in generator
Code
/* Rattan Sunroom — colorset.net */
:root {
--color-1: #F7F0E1;
--color-2: #C99A5B;
--color-3: #5F8A6B;
--color-4: #E2725B;
--color-5: #3A3026;
--color-bg: #F7F0E1;
--color-surface: #FCF8EF;
--color-border: #E0D7C5;
--color-text: #3A3026;
--color-muted: #776B60;
--color-primary: #D86952;
--color-on-primary: #000000;
--color-accent: #5F8A6B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0B;
--color-surface: #1C1915;
--color-border: #332D26;
--color-text: #F7F0E1;
--color-muted: #8E877A;
--color-primary: #E2725B;
--color-on-primary: #120F0B;
--color-accent: #5F8A6B;
--color-on-accent: #120F0B;
}
}
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 | adjusted for contrast · from #3A3026 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E2725B | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.35:1 | AAA pass 4.5:1 | |
| Text on surface | 12.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 5.33:1 | AA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.47:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.84:1 | AAA pass 4.5:1 | |
| Text on surface | 15.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 6.18:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 6.18:1 | AA pass 3:1 | |
| Accent on background | 4.85:1 | AA 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 | #F7F0E1 (Text 1) | #C99A5B (Text 2) | #5F8A6B (Text 3) | #E2725B (Text 4) | #3A3026 (Text 5) |
|---|---|---|---|---|---|
| #F7F0E1 | Same color | 2.24— | 3.47AA Large | 2.72— | 11.35AAA |
| #C99A5B | 2.24— | Same color | 1.55— | 1.22— | 5.06AA |
| #5F8A6B | 3.47AA Large | 1.55— | Same color | 1.27— | 3.27AA Large |
| #E2725B | 2.72— | 1.22— | 1.27— | Same color | 4.16AA Large |
| #3A3026 | 11.35AAA | 5.06AA | 3.27AA Large | 4.16AA Large | Same color |
Shades
Shades and tints (50–950)
