CSS named color
Aquamarine #7FFFD4
Aquamarine (CSS keyword aquamarine) has the hex code #7FFFD4 and the RGB value rgb(127, 255, 212): a very light, moderately saturated green-cyan.
Named after the aquamarine gemstone, a blue-green beryl whose name is Latin for "sea water". The CSS value is a bright mint green that is much more saturated than most real aquamarines.
Color codes for Aquamarine
| CSS keyword | aquamarine |
|---|---|
| HEX | #7FFFD4 |
| RGB | rgb(127, 255, 212) |
| HSL | hsl(160, 100%, 75%) |
| HWB | hwb(160 50% 0%) |
| OKLCH | oklch(91.5% 0.13 169) |
| CMYK (naive, no ICC profile) | cmyk(50%, 0%, 17%, 0%) |
| Decimal | 8,388,564 |
| Hue family | Cyans and teals |
Contrast and accessibility
On aquamarine, black text has a contrast ratio of 17.15:1 and passes AAA at any text size; white text reaches 1.22:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on aquamarine | 17.15:1 | Pass | Pass | Pass | Pass | 92.7 |
| White text on aquamarine | 1.22:1 | Fail | Fail | Fail | Fail | −12.6 |
| Aquamarine text on white | 1.22:1 | Fail | Fail | Fail | Fail | 10.8 |
| Aquamarine text on black | 17.15:1 | Pass | Pass | Pass | Pass | −93.3 |
Tints and shades
Each step mixes aquamarine with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, aquamarine, white 25%) in CSS.
Tints (mixed with white)
- 5%
#85ffd6 - 15%
#92ffda - 25%
#9fffdf - 35%
#acffe3 - 45%
#b9ffe7 - 55%
#c5ffec - 65%
#d2fff0 - 75%
#dffff4 - 85%
#ecfff9 - 95%
#f9fffd
Shades (mixed with black)
- 5%
#79f2c9 - 15%
#6cd9b4 - 25%
#5fbf9f - 35%
#53a68a - 45%
#468c75 - 55%
#39735f - 65%
#2c594a - 75%
#204035 - 85%
#132620 - 95%
#060d0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, aquamarine's complementary color is #FFCEEB (close to pink), its analogous colors are #B6F8A3 and #60FDFF, and its triadic partners are #E1DDFF and #FFD5B9. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #ffceeb |
| Analogous | −30°, +30° | #b6f8a3#60fdff |
| Triadic | +120°, +240° | #e1ddff#ffd5b9 |
| Split-complementary | +150°, +210° | #ffceff#ffd2d2 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Aquamarine is a cool color: its hue is 160° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| aqua | #00ffff | 6.8 |
| palegreen | #98fb98 | 7.1 |
| paleturquoise | #afeeee | 8.0 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| emerald-200 | #a4f4cf | 4.0 |
| teal-200 | #96f7e4 | 4.1 |
| green-200 | #b9f8cf | 5.3 |
Code snippets
.element {
color: aquamarine;
background-color: #7fffd4;
border-color: rgb(127 255 212);
outline-color: oklch(91.5% 0.13 169);
}<div class="bg-[#7fffd4] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-aquamarine: #7fffd4;
}
/* then use bg-aquamarine, text-aquamarine, border-aquamarine */import SwiftUI
extension Color {
static let aquamarine = Color(red: 0.498, green: 1.000, blue: 0.831)
}import androidx.compose.ui.graphics.Color
val Aquamarine = Color(0xFF7FFFD4)import 'package:flutter/material.dart';
const aquamarine = Color(0xFF7FFFD4);<!-- res/values/colors.xml -->
<color name="aquamarine">#7FFFD4</color>Frequently asked questions
- What is the hex code for aquamarine?
- The hex code for aquamarine is #7FFFD4. The same color is rgb(127, 255, 212), hsl(160, 100%, 75%) and oklch(91.5% 0.13 169), and in CSS you can also write the keyword aquamarine directly.
- Is aquamarine a warm or cool color?
- Aquamarine is a cool color: its hue is 160° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with aquamarine?
- Rotating the hue in OKLCH while keeping lightness and chroma, aquamarine's complementary color is #FFCEEB (close to pink), its analogous colors are #B6F8A3 and #60FDFF, and its triadic partners are #E1DDFF and #FFD5B9. For text on top, black gives the higher contrast.
- Can you use white text on aquamarine?
- White text on aquamarine has a contrast ratio of 1.22:1, which fails AA even for large text under WCAG 2.2. Black text reaches 17.15:1 and passes both AA and AAA. In APCA terms that is Lc −12.6 for white and Lc 92.7 for black.
- What is the RGB value of aquamarine?
- Aquamarine is rgb(127, 255, 212): red 127, green 255 and blue 212 on the 0 to 255 scale, or 49.8%, 100.0% and 83.1%. As a decimal integer it is 8388564.
Last reviewed by Arielton Oberek.