PreviewingGo to this paletteOpen in generator
Code
/* Teak Deck Chair — colorset.net */
:root {
--color-1: #F5EEE0;
--color-2: #995F2C;
--color-3: #683B18;
--color-4: #5DB2CC;
--color-5: #2E1A0C;
--color-bg: #F5EEE0;
--color-surface: #FAF6ED;
--color-border: #DED5C4;
--color-text: #2E1A0C;
--color-muted: #7E6656;
--color-primary: #995F2C;
--color-on-primary: #FFFFFF;
--color-accent: #258099;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2E1A0C;
--color-surface: #3A2517;
--color-border: #513A2C;
--color-text: #F5EEE0;
--color-muted: #999285;
--color-primary: #9F6532;
--color-on-primary: #FFFFFF;
--color-accent: #5DB2CC;
--color-on-accent: #2E1A0C;
}
}
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 2 | adjusted for contrast · from #995F2C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5DB2CC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.33:1 | AAA pass 4.5:1 | |
| Text on surface | 15.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.52:1 | AA pass 3:1 | |
| Accent on background | 3.93:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.33:1 | AAA pass 4.5:1 | |
| Text on surface | 12.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.36:1 | AA pass 4.5:1 | |
| Label on primary | 4.79:1 | AA pass 4.5:1 | |
| Label on accent | 6.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.45:1 | AA Large pass 3:1 | |
| Accent on background | 6.86: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 | #F5EEE0 (Text 1) | #995F2C (Text 2) | #683B18 (Text 3) | #5DB2CC (Text 4) | #2E1A0C (Text 5) |
|---|---|---|---|---|---|
| #F5EEE0 | Same color | 4.52AA | 8.17AAA | 2.09— | 14.33AAA |
| #995F2C | 4.52AA | Same color | 1.81— | 2.16— | 3.17AA Large |
| #683B18 | 8.17AAA | 1.81— | Same color | 3.91AA Large | 1.75— |
| #5DB2CC | 2.09— | 2.16— | 3.91AA Large | Same color | 6.86AA |
| #2E1A0C | 14.33AAA | 3.17AA Large | 1.75— | 6.86AA | Same color |
Shades
Shades and tints (50–950)
