HEX in HSL: #2E8B57
Auch bekannt als: CSS seagreen
Ergebnis
#2E8B57 → hsl(146 50% 36%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #2e8b57. 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.1804 G = 0.5451 B = 0.3412
2. max, min, Δ
max = 0.5451 min = 0.1804 Δ = max − min = 0.3647
3. L
L = (max + min) / 2 = 0.3627 = 36.27%
4. S
S = Δ / (1 − |2L − 1|) = 0.5027 = 50.27%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.3412 − 0.1804) / 0.3647 + 2) = 146.45°
6. HSL
hsl(146.45 50.27% 36.27%)
Alle Formate
- HEX
- #2e8b57
- RGB
- rgb(46 139 87)
- RGB (legacy)
- rgb(46, 139, 87)
- HSL
- hsl(146.45 50.27% 36.27%) → hsl(146 50% 36%)
- HWB
- hwb(146 18% 45%)
- OKLCH
- oklch(0.569 0.119 154.9) · oklch(56.9% 0.119 154.9)
- OKLab
- oklab(0.569 -0.108 0.050)
- Lab (D50)
- lab(51.49 -37.86 19.58)
- LCH (D50)
- lch(51.49 42.63 152.66)
- Display P3
- color(display-p3 0.2898 0.5376 0.3590)
- Linear sRGB
- color(srgb-linear 0.0273 0.2582 0.0953)
Gamut: sRGB und Display P3
#2E8B57 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.141, Display P3 von 0.195; diese Farbe nutzt 84 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #2e8b57;
color: rgb(46 139 87);
color: hsl(146 50% 36%);
color: oklch(0.569 0.119 154.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.569 0.119 154.9);
}
/* arbitrary values */
class="text-[#2e8b57] bg-[oklch(0.569_0.119_154.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2898 0.5376 0.3590); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #2e8b57 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 emerald-600#059669
- emerald-600#009966
- v3 green-700#15803D
- green-700#008236
- emerald-700#007A55
- forestgreen#228B22
- v3 emerald-700#047857
- v3 teal-600#0D9488
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #439E68 · oklch(0.629 0.119 154.9) · ΔL +0.06
- #147946 · oklch(0.509 0.119 154.9) · ΔL −0.06