HEX in OKLCH: #00A63E
Auch bekannt als: Tailwind green-600
Ergebnis
#00A63E → oklch(0.632 0.186 147.4)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #00a63e. 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. sRGB → linear
R: 0/255 = 0.00000 → 0.000000 (÷ 12.92) G: 166/255 = 0.65098 → 0.381326 (((x + 0.055) / 1.055)^2.4) B: 62/255 = 0.24314 → 0.048172 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.206996 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.264742 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.137774
3. cube root
l′ = ∛0.206996 = 0.591544 m′ = ∛0.264742 = 0.642107 s′ = ∛0.137774 = 0.516483
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.63198 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.15662 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.10028
5. Oklab → OKLCH
C = √(a² + b²) = 0.18597 H = atan2(b, a) = 147.369° L = 0.63198
6. OKLCH
oklch(0.63198 0.18597 147.369) rounded: oklch(0.632 0.186 147.4)
Alle Formate
- HEX
- #00a63e
- RGB
- rgb(0 166 62)
- RGB (legacy)
- rgb(0, 166, 62)
- HSL
- hsl(142.41 100.00% 32.55%) → hsl(142 100% 33%)
- HWB
- hwb(142 0% 35%)
- OKLCH
- oklch(0.632 0.186 147.4) · oklch(63.2% 0.186 147.4)
- OKLab
- oklab(0.632 -0.157 0.100)
- Lab (D50)
- lab(59.55 -54.52 41.79)
- LCH (D50)
- lch(59.55 68.70 142.53)
- Display P3
- color(display-p3 0.2886 0.6411 0.2964)
- Linear sRGB
- color(srgb-linear 0.0000 0.3813 0.0482)
Gamut: sRGB und Display P3
#00A63E 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.186, Display P3 von 0.261; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #00a63e;
color: rgb(0 166 62);
color: hsl(142 100% 33%);
color: oklch(0.632 0.186 147.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.632 0.186 147.4);
}
/* arbitrary values */
class="text-[#00a63e] bg-[oklch(0.632_0.186_147.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2886 0.6411 0.2964); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00a63e calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 green-600#16A34A
- lime-600#5EA500
- v3 lime-600#65A30D
- emerald-600#009966
- mediumseagreen#3CB371
- forestgreen#228B22
- v3 emerald-600#059669
- olivedrab#6B8E23
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2EB951 · oklch(0.692 0.186 147.4) · ΔL +0.06
- #00932A · oklch(0.572 0.186 147.4) · ΔL −0.06