OKLCH to HEX: #6EE7B7
Also known as: Tailwind v3 emerald-300
Result
oklch(0.84519 0.12995 164.978) → #6EE7B7
Values are shown at full precision, so converting back gives exactly #6ee7b7. 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.84519 0.12995 164.978)
2. OKLCH → Oklab
a = C·cos H = -0.12551 b = C·sin H = 0.03368
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.802715 m′ = L − 0.1056·a − 0.0639·b = 0.856288 s′ = L − 0.0895·a − 1.2915·b = 0.812922
4. cube
l = 0.802715³ = 0.517230 m = 0.856288³ = 0.627856 s = 0.812922³ = 0.537212
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.155926 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.799116 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.473536
6. linear → sRGB, × 255
R = 0.43137 × 255 = 110.00 → 110 G = 0.90589 × 255 = 231.00 → 231 B = 0.71765 × 255 = 183.00 → 183
7. RGB → HEX
#6EE7B7
All formats
- HEX
- #6ee7b7
- RGB
- rgb(110 231 183)
- RGB (legacy)
- rgb(110, 231, 183)
- HSL
- hsl(156.20 71.60% 66.86%) → hsl(156 72% 67%)
- HWB
- hwb(156 43% 9%)
- OKLCH
- oklch(0.845 0.130 165.0) · oklch(84.5% 0.130 165.0)
- OKLab
- oklab(0.845 -0.126 0.034)
- Lab (D50)
- lab(83.77 -44.09 12.60)
- LCH (D50)
- lch(83.77 45.85 164.06)
- Display P3
- color(display-p3 0.5565 0.8951 0.7298)
- Linear sRGB
- color(srgb-linear 0.1559 0.7991 0.4735)
Gamut: sRGB and Display P3
#6EE7B7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.178 and Display P3 reaches 0.244; this color uses 73% of the sRGB chroma available.
CSS snippets
.element {
color: #6ee7b7;
color: rgb(110 231 183);
color: hsl(156 72% 67%);
color: oklch(0.845 0.130 165.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.845 0.130 165.0);
}
/* arbitrary values */
class="text-[#6ee7b7] bg-[oklch(0.845_0.130_165.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5565 0.8951 0.7298); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #6ee7b7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-300#5EE9B5
- v3 green-300#86EFAC
- v3 teal-300#5EEAD4
- teal-300#46ECD5
- green-300#7BF1A8
- turquoise#40E0D0
- lightgreen#90EE90
- emerald-200#A4F4CF
Lighter and darker, same hue and chroma
- #83FBCA · oklch(0.905 0.130 165.0) · ΔL +0.06
- #59D3A4 · oklch(0.785 0.130 165.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?