PreviewingGo to this paletteOpen in generator
Code
/* Certificate Gold — colorset.net */
:root {
--color-1: #FBF9F0;
--color-2: #ECBD3A;
--color-3: #1A6444;
--color-4: #B09733;
--color-5: #28240C;
--color-bg: #FBF9F0;
--color-surface: #F2F0E7;
--color-border: #DAD7CB;
--color-text: #28240C;
--color-muted: #716D53;
--color-primary: #A0881E;
--color-on-primary: #000000;
--color-accent: #1A6444;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #28240C;
--color-surface: #332F17;
--color-border: #49452C;
--color-text: #FBF9F0;
--color-muted: #99988F;
--color-primary: #B09733;
--color-on-primary: #28240C;
--color-accent: #3F8462;
--color-on-accent: #000000;
}
}
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 | adjusted for contrast · from #B09733 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #1A6444 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 13.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 7.12:1 | AAA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 12.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.37:1 | AA pass 4.5:1 | |
| Label on primary | 5.43:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 5.43:1 | AA pass 3:1 | |
| Accent on background | 3.48: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 | #FBF9F0 (Text 1) | #ECBD3A (Text 2) | #1A6444 (Text 3) | #B09733 (Text 4) | #28240C (Text 5) |
|---|---|---|---|---|---|
| #FBF9F0 | Same color | 1.67— | 6.75AA | 2.72— | 14.77AAA |
| #ECBD3A | 1.67— | Same color | 4.04AA Large | 1.63— | 8.83AAA |
| #1A6444 | 6.75AA | 4.04AA Large | Same color | 2.48— | 2.19— |
| #B09733 | 2.72— | 1.63— | 2.48— | Same color | 5.43AA |
| #28240C | 14.77AAA | 8.83AAA | 2.19— | 5.43AA | Same color |
Shades
Shades and tints (50–950)
