In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Pure Gold — colorset.net */
:root {
--color-1: #B8860B;
--color-2: #DAA520;
--color-3: #FFD700;
--color-4: #FFFF99;
--color-5: #FFFFCC;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #654800;
--color-muted: #766850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #7B7900;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #FEFED7;
--color-muted: #909074;
--color-primary: #B8860B;
--color-on-primary: #170E00;
--color-accent: #FFFF99;
--color-on-accent: #170E00;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #FFFFCC | für Kontrast angepasst · aus #B8860B |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #B8860B | für Kontrast angepasst · aus #FFFFCC |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #B8860B | aus der Palette · Farbe 1 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #B8860B | aus der Palette · Farbe 4 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,90:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,28:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,07:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,59:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,29:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,28:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 18,53:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 16,96:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,85:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 18,21:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,87:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 18,21:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #B8860B (Text 1) | #DAA520 (Text 2) | #FFD700 (Text 3) | #FFFF99 (Text 4) | #FFFFCC (Text 5) |
|---|---|---|---|---|---|
| #B8860B | Gleiche Farbe | 1,45— | 2,32— | 3,10AA groß | 3,17AA groß |
| #DAA520 | 1,45— | Gleiche Farbe | 1,60— | 2,13— | 2,18— |
| #FFD700 | 2,32— | 1,60— | Gleiche Farbe | 1,34— | 1,36— |
| #FFFF99 | 3,10AA groß | 2,13— | 1,34— | Gleiche Farbe | 1,02— |
| #FFFFCC | 3,17AA groß | 2,18— | 1,36— | 1,02— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
