HEX in HSL: #7BF1A8
Auch bekannt als: Tailwind green-300
Ergebnis
#7BF1A8 → hsl(143 81% 71%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #7bf1a8. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.4824 G = 0.9451 B = 0.6588
2. max, min, Δ
max = 0.9451 min = 0.4824 Δ = max − min = 0.4627
3. L
L = (max + min) / 2 = 0.7137 = 71.37%
4. S
S = Δ / (1 − |2L − 1|) = 0.8082 = 80.82%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.6588 − 0.4824) / 0.4627 + 2) = 142.88°
6. HSL
hsl(142.88 80.82% 71.37%)
Alle Formate
- HEX
- #7bf1a8
- RGB
- rgb(123 241 168)
- RGB (legacy)
- rgb(123, 241, 168)
- HSL
- hsl(142.88 80.82% 71.37%) → hsl(143 81% 71%)
- HWB
- hwb(143 48% 5%)
- OKLCH
- oklch(0.870 0.149 154.6) · oklch(87.0% 0.149 154.6)
- OKLab
- oklab(0.870 -0.135 0.064)
- Lab (D50)
- lab(86.92 -47.03 24.67)
- LCH (D50)
- lch(86.92 53.10 152.32)
- Display P3
- color(display-p3 0.6004 0.9343 0.6826)
- Linear sRGB
- color(srgb-linear 0.1981 0.8796 0.3916)
Gamut: sRGB und Display P3
#7BF1A8 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.217, Display P3 von 0.265; diese Farbe nutzt 69 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #7bf1a8;
color: rgb(123 241 168);
color: hsl(143 81% 71%);
color: oklch(0.870 0.149 154.6);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.870 0.149 154.6);
}
/* arbitrary values */
class="text-[#7bf1a8] bg-[oklch(0.870_0.149_154.6)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6004 0.9343 0.6826); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7bf1a8 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 green-300#86EFAC
- lightgreen#90EE90
- emerald-300#5EE9B5
- v3 emerald-300#6EE7B7
- palegreen#98FB98
- mediumspringgreen#00FA9A
- aquamarine#7FFFD4
- emerald-200#A4F4CF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #90FFBB · oklch(0.930 0.149 154.6) · ΔL +0.06
- #66DD95 · oklch(0.810 0.149 154.6) · ΔL −0.06