Skip to content

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.

Aquamarine#7FFFD4

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

Color codes for Aquamarine
CSS keywordaquamarine
HEX#7FFFD4
RGBrgb(127, 255, 212)
HSLhsl(160, 100%, 75%)
HWBhwb(160 50% 0%)
OKLCHoklch(91.5% 0.13 169)
CMYK (naive, no ICC profile)cmyk(50%, 0%, 17%, 0%)
Decimal8,388,564
Hue familyCyans 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on aquamarine17.15:1PassPassPassPass92.7
White text on aquamarine1.22:1FailFailFailFail−12.6
Aquamarine text on white1.22:1FailFailFailFail10.8
Aquamarine text on black17.15:1PassPassPassPass−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)

  1. 5%
    #85ffd6
  2. 15%
    #92ffda
  3. 25%
    #9fffdf
  4. 35%
    #acffe3
  5. 45%
    #b9ffe7
  6. 55%
    #c5ffec
  7. 65%
    #d2fff0
  8. 75%
    #dffff4
  9. 85%
    #ecfff9
  10. 95%
    #f9fffd

Shades (mixed with black)

  1. 5%
    #79f2c9
  2. 15%
    #6cd9b4
  3. 25%
    #5fbf9f
  4. 35%
    #53a68a
  5. 45%
    #468c75
  6. 55%
    #39735f
  7. 65%
    #2c594a
  8. 75%
    #204035
  9. 85%
    #132620
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
aqua#00ffff6.8
palegreen#98fb987.1
paleturquoise#afeeee8.0

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
emerald-200#a4f4cf4.0
teal-200#96f7e44.1
green-200#b9f8cf5.3

Code snippets

CSS
.element {
  color: aquamarine;
  background-color: #7fffd4;
  border-color: rgb(127 255 212);
  outline-color: oklch(91.5% 0.13 169);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let aquamarine = Color(red: 0.498, green: 1.000, blue: 0.831)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Aquamarine = Color(0xFF7FFFD4)
Flutter
import 'package:flutter/material.dart';

const aquamarine = Color(0xFF7FFFD4);
Android XML
<!-- 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.