RGB in HEX: #98FB98
Auch bekannt als: CSS palegreen
Ergebnis
rgb(152 251 152) → #98FB98
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #98fb98. 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. base 10 → base 16
R = 152 = 9×16 + 8 → 98 G = 251 = 15×16 + 11 → FB B = 152 = 9×16 + 8 → 98
2. pairs → HEX
98 FB 98 → #98FB98
Alle Formate
- HEX
- #98fb98
- RGB
- rgb(152 251 152)
- RGB (legacy)
- rgb(152, 251, 152)
- HSL
- hsl(120.00 92.52% 79.02%) → hsl(120 93% 79%)
- HWB
- hwb(120 60% 2%)
- OKLCH
- oklch(0.904 0.162 144.1) · oklch(90.4% 0.162 144.1)
- OKLab
- oklab(0.904 -0.132 0.095)
- Lab (D50)
- lab(90.80 -44.84 37.95)
- LCH (D50)
- lch(90.80 58.74 139.76)
- Display P3
- color(display-p3 0.6869 0.9746 0.6351)
- Linear sRGB
- color(srgb-linear 0.3140 0.9647 0.3140)
Gamut: sRGB und Display P3
#98FB98 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.190, Display P3 von 0.211; diese Farbe nutzt 86 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #98fb98;
color: rgb(152 251 152);
color: hsl(120 93% 79%);
color: oklch(0.904 0.162 144.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.904 0.162 144.1);
}
/* arbitrary values */
class="text-[#98fb98] bg-[oklch(0.904_0.162_144.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6869 0.9746 0.6351); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #98fb98 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lightgreen#90EE90
- green-300#7BF1A8
- v3 green-300#86EFAC
- v3 lime-300#BEF264
- lime-300#BBF451
- lime-200#D8F999
- mediumspringgreen#00FA9A
- aquamarine#7FFFD4
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #ACFFAB · oklch(0.964 0.162 144.1) · ΔL +0.06
- #84E785 · oklch(0.844 0.162 144.1) · ΔL −0.06