PreviewingGo to this paletteOpen in generator
Code
/* Peacock Hall — colorset.net */
:root {
--color-1: #0E2433;
--color-2: #1F8A85;
--color-3: #D4A84F;
--color-4: #24404F;
--color-5: #EEE8DA;
--color-bg: #EEE8DA;
--color-surface: #F3EFE7;
--color-border: #D7CFBE;
--color-text: #0E2433;
--color-muted: #536B7D;
--color-primary: #14847F;
--color-on-primary: #FFFFFF;
--color-accent: #976E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E2433;
--color-surface: #192F3F;
--color-border: #2F4556;
--color-text: #EEE8DA;
--color-muted: #999386;
--color-primary: #14847F;
--color-on-primary: #FFFFFF;
--color-accent: #D4A84F;
--color-on-accent: #0E2433;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1F8A85 | adjusted for contrast · from #1F8A85 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #1F8A85 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.03:1 | AAA pass 4.5:1 | |
| Text on surface | 13.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.71:1 | AA Large pass 3:1 | |
| Accent on background | 3.78:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.03:1 | AAA pass 4.5:1 | |
| Text on surface | 11.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 7.21:1 | AAA pass 4.5:1 | |
| Primary on background | 3.52:1 | AA Large pass 3:1 | |
| Accent on background | 7.21: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 | #0E2433 (Text 1) | #1F8A85 (Text 2) | #D4A84F (Text 3) | #24404F (Text 4) | #EEE8DA (Text 5) |
|---|---|---|---|---|---|
| #0E2433 | Same color | 3.82AA Large | 7.21AAA | 1.46— | 13.03AAA |
| #1F8A85 | 3.82AA Large | Same color | 1.89— | 2.62— | 3.42AA Large |
| #D4A84F | 7.21AAA | 1.89— | Same color | 4.95AA | 1.81— |
| #24404F | 1.46— | 2.62— | 4.95AA | Same color | 8.95AAA |
| #EEE8DA | 13.03AAA | 3.42AA Large | 1.81— | 8.95AAA | Same color |
Shades
Shades and tints (50–950)
