HEX in HSL: #00FA9A
Auch bekannt als: CSS mediumspringgreen
Ergebnis
#00FA9A → hsl(157 100% 49%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #00fa9a. 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.0000 G = 0.9804 B = 0.6039
2. max, min, Δ
max = 0.9804 min = 0.0000 Δ = max − min = 0.9804
3. L
L = (max + min) / 2 = 0.4902 = 49.02%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.6039 − 0.0000) / 0.9804 + 2) = 156.96°
6. HSL
hsl(156.96 100.00% 49.02%)
Alle Formate
- HEX
- #00fa9a
- RGB
- rgb(0 250 154)
- RGB (legacy)
- rgb(0, 250, 154)
- HSL
- hsl(156.96 100.00% 49.02%) → hsl(157 100% 49%)
- HWB
- hwb(157 0% 2%)
- OKLCH
- oklch(0.867 0.207 156.9) · oklch(86.7% 0.207 156.9)
- OKLab
- oklab(0.867 -0.190 0.081)
- Lab (D50)
- lab(87.24 -67.66 31.60)
- LCH (D50)
- lch(87.24 74.68 154.96)
- Display P3
- color(display-p3 0.4489 0.9659 0.6370)
- Linear sRGB
- color(srgb-linear 0.0000 0.9560 0.3231)
Gamut: sRGB und Display P3
#00FA9A 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.207, Display P3 von 0.268; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #00fa9a;
color: rgb(0 250 154);
color: hsl(157 100% 49%);
color: oklch(0.867 0.207 156.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.867 0.207 156.9);
}
/* arbitrary values */
class="text-[#00fa9a] bg-[oklch(0.867_0.207_156.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4489 0.9659 0.6370); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00fa9a calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- springgreen#00FF7F
- green-300#7BF1A8
- lightgreen#90EE90
- palegreen#98FB98
- v3 green-300#86EFAC
- emerald-300#5EE9B5
- v3 green-400#4ADE80
- green-400#05DF72
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #3EFFAD · oklch(0.927 0.207 156.9) · ΔL +0.06
- #00E687 · oklch(0.807 0.207 156.9) · ΔL −0.06