RGB to HEX: #7FFFD4
Also known as: CSS aquamarine
Result
rgb(127 255 212) → #7FFFD4
Values are shown at full precision, so converting back gives exactly #7fffd4. 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. base 10 → base 16
R = 127 = 7×16 + 15 → 7F G = 255 = 15×16 + 15 → FF B = 212 = 13×16 + 4 → D4
2. pairs → HEX
7F FF D4 → #7FFFD4
All formats
- HEX
- #7fffd4
- RGB
- rgb(127 255 212)
- RGB (legacy)
- rgb(127, 255, 212)
- HSL
- hsl(159.84 100.00% 74.90%) → hsl(160 100% 75%)
- HWB
- hwb(160 50% 0%)
- OKLCH
- oklch(0.915 0.130 169.0) · oklch(91.5% 0.130 169.0)
- OKLab
- oklab(0.915 -0.128 0.025)
- Lab (D50)
- lab(91.86 -44.85 9.15)
- LCH (D50)
- lch(91.86 45.77 168.46)
- Display P3
- color(display-p3 0.6279 0.9884 0.8409)
- Linear sRGB
- color(srgb-linear 0.2122 1.0000 0.6584)
Gamut: sRGB and Display P3
#7FFFD4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.130 and Display P3 reaches 0.147; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #7fffd4;
color: rgb(127 255 212);
color: hsl(160 100% 75%);
color: oklch(0.915 0.130 169.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.915 0.130 169.0);
}
/* arbitrary values */
class="text-[#7fffd4] bg-[oklch(0.915_0.130_169.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6279 0.9884 0.8409); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #7fffd4 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- emerald-200#A4F4CF
- teal-200#96F7E4
- v3 emerald-200#A7F3D0
- v3 teal-200#99F6E4
- green-200#B9F8CF
- v3 green-300#86EFAC
- v3 green-200#BBF7D0
- green-300#7BF1A8
Lighter and darker, same hue and chroma
- #94FFE8 · oklch(0.975 0.130 169.0) · ΔL +0.06
- #6AEBC1 · oklch(0.855 0.130 169.0) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?