In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Solar Gold — colorset.net */
:root {
--color-1: #FFD700;
--color-2: #FFDF00;
--color-3: #FFE700;
--color-4: #FFEF00;
--color-5: #FFF700;
--color-bg: #F8F8E9;
--color-surface: #EFEFE0;
--color-border: #D6D6C4;
--color-text: #5E4E00;
--color-muted: #726B51;
--color-primary: #7D7900;
--color-on-primary: #FFFFFF;
--color-accent: #998A00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140F00;
--color-surface: #1E1905;
--color-border: #342E15;
--color-text: #F2F2CC;
--color-muted: #89896D;
--color-primary: #FFF700;
--color-on-primary: #140F00;
--color-accent: #FFD700;
--color-on-accent: #140F00;
}
}
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 #FFE700 | für Kontrast angepasst · aus #FFD700 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #FFD700 | für Kontrast angepasst · aus #FFDF00 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 5 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #FFD700 | aus der Palette · Farbe 1 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,64:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,05:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,98:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,56:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,99:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,25:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 16,71:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 15,34:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,34:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 16,90:1 | AAA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 13,63:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 16,90:1 | AAA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 13,63: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 | #FFD700 (Text 1) | #FFDF00 (Text 2) | #FFE700 (Text 3) | #FFEF00 (Text 4) | #FFF700 (Text 5) |
|---|---|---|---|---|---|
| #FFD700 | Gleiche Farbe | 1,06— | 1,11— | 1,18— | 1,24— |
| #FFDF00 | 1,06— | Gleiche Farbe | 1,06— | 1,11— | 1,17— |
| #FFE700 | 1,11— | 1,06— | Gleiche Farbe | 1,05— | 1,11— |
| #FFEF00 | 1,18— | 1,11— | 1,05— | Gleiche Farbe | 1,05— |
| #FFF700 | 1,24— | 1,17— | 1,11— | 1,05— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
