OKLCH to HEX: #66CDAA
Also known as: CSS mediumaquamarine
Result
oklch(0.77669 0.10985 168.824) → #66CDAA
Values are shown at full precision, so converting back gives exactly #66cdaa. 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.77669 0.10985 168.824)
2. OKLCH → Oklab
a = C·cos H = -0.10777 b = C·sin H = 0.02129
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.738573 m′ = L − 0.1056·a − 0.0639·b = 0.786706 s′ = L − 0.0895·a − 1.2915·b = 0.758836
4. cube
l = 0.738573³ = 0.402884 m = 0.786706³ = 0.486898 s = 0.758836³ = 0.436962
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.132859 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.610510 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.401978
6. linear → sRGB, × 255
R = 0.39999 × 255 = 102.00 → 102 G = 0.80393 × 255 = 205.00 → 205 B = 0.66667 × 255 = 170.00 → 170
7. RGB → HEX
#66CDAA
All formats
- HEX
- #66cdaa
- RGB
- rgb(102 205 170)
- RGB (legacy)
- rgb(102, 205, 170)
- HSL
- hsl(159.61 50.74% 60.20%) → hsl(160 51% 60%)
- HWB
- hwb(160 40% 20%)
- OKLCH
- oklch(0.777 0.110 168.8) · oklch(77.7% 0.110 168.8)
- OKLab
- oklab(0.777 -0.108 0.021)
- Lab (D50)
- lab(75.55 -37.75 7.83)
- LCH (D50)
- lch(75.55 38.56 168.28)
- Display P3
- color(display-p3 0.5039 0.7946 0.6745)
- Linear sRGB
- color(srgb-linear 0.1329 0.6105 0.4020)
Gamut: sRGB and Display P3
#66CDAA is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.156 and Display P3 reaches 0.213; this color uses 71% of the sRGB chroma available.
CSS snippets
.element {
color: #66cdaa;
color: rgb(102 205 170);
color: hsl(160 51% 60%);
color: oklch(0.777 0.110 168.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.777 0.110 168.8);
}
/* arbitrary values */
class="text-[#66cdaa] bg-[oklch(0.777_0.110_168.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5039 0.7946 0.6745); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #66cdaa calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 teal-400#2DD4BF
- teal-400#00D5BE
- v3 emerald-400#34D399
- mediumturquoise#48D1CC
- darkseagreen#8FBC8F
- turquoise#40E0D0
- emerald-400#00D492
- darkturquoise#00CED1
Lighter and darker, same hue and chroma
- #7AE1BD · oklch(0.837 0.110 168.8) · ΔL +0.06
- #51BA97 · oklch(0.717 0.110 168.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?