OKLCH to HEX: #F7FEE7
Also known as: Tailwind lime-50, Tailwind v3 lime-50
Result
oklch(0.98568 0.03097 120.757) → #F7FEE7
Values are shown at full precision, so converting back gives exactly #f7fee7. 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.98568 0.03097 120.757)
2. OKLCH → Oklab
a = C·cos H = -0.01584 b = C·sin H = 0.02661
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.985146 m′ = L − 0.1056·a − 0.0639·b = 0.985652 s′ = L − 0.0895·a − 1.2915·b = 0.952726
4. cube
l = 0.985146³ = 0.956097 m = 0.985652³ = 0.957572 s = 0.952726³ = 0.864776
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.930126 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.991116 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.799119
6. linear → sRGB, × 255
R = 0.96863 × 255 = 247.00 → 247 G = 0.99608 × 255 = 254.00 → 254 B = 0.90589 × 255 = 231.00 → 231
7. RGB → HEX
#F7FEE7
All formats
- HEX
- #f7fee7
- RGB
- rgb(247 254 231)
- RGB (legacy)
- rgb(247, 254, 231)
- HSL
- hsl(78.26 92.00% 95.10%) → hsl(78 92% 95%)
- HWB
- hwb(78 91% 0%)
- OKLCH
- oklch(0.986 0.031 120.8) · oklch(98.6% 0.031 120.8)
- OKLab
- oklab(0.986 -0.016 0.027)
- Lab (D50)
- lab(98.67 -5.32 10.21)
- LCH (D50)
- lch(98.67 11.51 117.54)
- Display P3
- color(display-p3 0.9736 0.9952 0.9139)
- Linear sRGB
- color(srgb-linear 0.9301 0.9911 0.7991)
Gamut: sRGB and Display P3
#F7FEE7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.040 and Display P3 reaches 0.042; this color uses 78% of the sRGB chroma available.
CSS snippets
.element {
color: #f7fee7;
color: rgb(247 254 231);
color: hsl(78 92% 95%);
color: oklch(0.986 0.031 120.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.986 0.031 120.8);
}
/* arbitrary values */
class="text-[#f7fee7] bg-[oklch(0.986_0.031_120.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9736 0.9952 0.9139); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f7fee7 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- yellow-50#FEFCE8
- honeydew#F0FFF0
- lightyellow#FFFFE0
- amber-50#FFFBEB
- ivory#FFFFF0
- cornsilk#FFF8DC
- green-50#F0FDF4
- floralwhite#FFFAF0
Lighter and darker, same hue and chroma
- #FCFFEC · oklch(1.000 0.031 120.8) · ΔL +0.06
- #E3EAD3 · oklch(0.926 0.031 120.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?