HEX to OKLCH: #8FBC8F
Also known as: CSS darkseagreen
Result
#8FBC8F → oklch(0.751 0.080 144.7)
Values are shown at full precision, so converting back gives exactly #8fbc8f. 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. sRGB → linear
R: 143/255 = 0.56078 → 0.274677 (((x + 0.055) / 1.055)^2.4) G: 188/255 = 0.73725 → 0.502886 (((x + 0.055) / 1.055)^2.4) B: 143/255 = 0.56078 → 0.274677 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.397073 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.430019 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.338968
3. cube root
l′ = ∛0.397073 = 0.735005 m′ = ∛0.430019 = 0.754795 s′ = ∛0.338968 = 0.697246
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.75086 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.06508 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.04603
5. Oklab → OKLCH
C = √(a² + b²) = 0.07971 H = atan2(b, a) = 144.730° L = 0.75086
6. OKLCH
oklch(0.75086 0.07971 144.730) rounded: oklch(0.751 0.080 144.7)
All formats
- HEX
- #8fbc8f
- RGB
- rgb(143 188 143)
- RGB (legacy)
- rgb(143, 188, 143)
- HSL
- hsl(120.00 25.14% 64.90%) → hsl(120 25% 65%)
- HWB
- hwb(120 56% 26%)
- OKLCH
- oklch(0.751 0.080 144.7) · oklch(75.1% 0.080 144.7)
- OKLab
- oklab(0.751 -0.065 0.046)
- Lab (D50)
- lab(72.11 -22.20 17.81)
- LCH (D50)
- lch(72.11 28.46 141.27)
- Display P3
- color(display-p3 0.5971 0.7323 0.5760)
- Linear sRGB
- color(srgb-linear 0.2747 0.5029 0.2747)
Gamut: sRGB and Display P3
#8FBC8F is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.238 and Display P3 reaches 0.318; this color uses 33% of the sRGB chroma available.
CSS snippets
.element {
color: #8fbc8f;
color: rgb(143 188 143);
color: hsl(120 25% 65%);
color: oklch(0.751 0.080 144.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.751 0.080 144.7);
}
/* arbitrary values */
class="text-[#8fbc8f] bg-[oklch(0.751_0.080_144.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5971 0.7323 0.5760); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #8fbc8f calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- mediumaquamarine#66CDAA
- darkkhaki#BDB76B
- olive-400#ABAB9C
- mist-400#9CA8AB
- darkgray#A9A9A9
- v3 emerald-400#34D399
- v3 neutral-400#A3A3A3
- v3 stone-400#A8A29E
Lighter and darker, same hue and chroma
- #A2CFA2 · oklch(0.811 0.080 144.7) · ΔL +0.06
- #7DA97D · oklch(0.691 0.080 144.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?