OKLCH to HEX: #00A63E
Also known as: Tailwind green-600
Result
oklch(0.63198 0.18597 147.369) → #00A63E
Values are shown at full precision, so converting back gives exactly #00a63e. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. input
oklch(0.63198 0.18597 147.369)
2. OKLCH → Oklab
a = C·cos H = -0.15662 b = C·sin H = 0.10028
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.591548 m′ = L − 0.1056·a − 0.0639·b = 0.642109 s′ = L − 0.0895·a − 1.2915·b = 0.516485
4. cube
l = 0.591548³ = 0.207000 m = 0.642109³ = 0.264745 s = 0.516485³ = 0.137776
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.000007 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.381328 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.048173
6. linear → sRGB, × 255
R = 0.00009 × 255 = 0.02 → 0 G = 0.65098 × 255 = 166.00 → 166 B = 0.24314 × 255 = 62.00 → 62
7. RGB → HEX
#00A63E
All formats
- 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 and Display P3
#00A63E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.186 and Display P3 reaches 0.261; this color uses 100% of the sRGB chroma available.
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); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 green-600#16A34A
- lime-600#5EA500
- v3 lime-600#65A30D
- emerald-600#009966
- mediumseagreen#3CB371
- forestgreen#228B22
- v3 emerald-600#059669
- olivedrab#6B8E23
Lighter and darker, same hue and chroma
- #2EB951 · oklch(0.692 0.186 147.4) · ΔL +0.06
- #00932A · oklch(0.572 0.186 147.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?