PreviewingGo to this paletteOpen in generator
Code
/* Bottle Green Bar — colorset.net */
:root {
--color-1: #000A05;
--color-2: #00190F;
--color-3: #002F1F;
--color-4: #95752A;
--color-5: #DED4B7;
--color-bg: #FAF7EE;
--color-surface: #F0EDE5;
--color-border: #D9D5C9;
--color-text: #000A05;
--color-muted: #51645B;
--color-primary: #927226;
--color-on-primary: #FFFFFF;
--color-accent: #002F1F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000A05;
--color-surface: #04140D;
--color-border: #142920;
--color-text: #DED4B7;
--color-muted: #867C62;
--color-primary: #927226;
--color-on-primary: #FFFFFF;
--color-accent: #406B58;
--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 | adjusted for contrast · from #DED4B7 | 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 #95752A | adjusted for contrast · from #95752A |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #95752A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.75:1 | AAA pass 4.5:1 | |
| Text on surface | 17.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.90:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 14.72:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 13.74:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.85:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 6.07:1 | AA pass 4.5:1 | |
| Primary on background | 4.45:1 | AA Large pass 3:1 | |
| Accent on background | 3.31: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 | #000A05 (Text 1) | #00190F (Text 2) | #002F1F (Text 3) | #95752A (Text 4) | #DED4B7 (Text 5) |
|---|---|---|---|---|---|
| #000A05 | Same color | 1.10— | 1.36— | 4.64AA | 13.59AAA |
| #00190F | 1.10— | Same color | 1.24— | 4.24AA Large | 12.40AAA |
| #002F1F | 1.36— | 1.24— | Same color | 3.40AA Large | 9.96AAA |
| #95752A | 4.64AA | 4.24AA Large | 3.40AA Large | Same color | 2.93— |
| #DED4B7 | 13.59AAA | 12.40AAA | 9.96AAA | 2.93— | Same color |
Shades
Shades and tints (50–950)
