CSS named color

Aquamarine #7FFFD4

The CSS keyword aquamarine is #7FFFD4. It is a pale soft green in the green family. In OKLCH it sits at lightness 0.915, chroma 0.130 and hue 169.0°.

Relative luminance
0.8079
OKLCH L · C · h
0.915 · 0.130 · 169.0
Best text
Black 17.15:1
Hue family
Green

#7FFFD4 color codes

HEX
#7FFFD4
RGB
rgb(127, 255, 212)
HSL
hsl(160, 100%, 75%)
OKLCH
oklch(0.915 0.130 169.0)
OKLab
oklab(0.915 -0.128 0.025)
CIELAB (D65)
L* 92.03, a* -45.52, b* 9.72
XYZ (D65)
X 56.39, Y 80.78, Z 74.90
CMYK (naive)
cmyk(50%, 0%, 17%, 0%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #7FFFD4 accessible?

Black text on it reaches 17.15:1, passing AAA. White text fails at 1.22:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    17.15:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +92
  • White text on it

    1.22:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −12

    Text is here, unreadable at 1.22:1

  • As text on black

    17.15:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −93
  • As text on white

    1.22:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +10

    Text is here, unreadable at 1.22:1

Nearest versions that pass 4.5:1

  • For text on white

    #008768 4.50:1

    Darkening its OKLCH lightness from 0.91 to 0.55 reaches 4.50:1 on white, keeping the hue.

  • For text on black

    #7FFFD4 17.15:1

    It already reaches 17.15:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #7FFFD4 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #7FFFD4

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #7FFFD4 sits at step 100.

  1. 50#DAFFF0
    White
    1.07
    Black
    19.54
  2. 100This color#7FFFD4
    White
    1.22
    Black
    17.15
  3. 200#84F0CA
    White
    1.37
    Black
    15.29
  4. 300#5FD7B0
    White
    1.77
    Black
    11.83
  5. 400#34BB94
    White
    2.41
    Black
    8.68
  6. 500#009D79
    White
    3.44
    Black
    6.09
  7. 600#008264
    White
    4.79
    Black
    4.37
  8. 700#00684F
    White
    6.78
    Black
    3.09
  9. 800#004C39
    White
    10.03
    Black
    2.09
  10. 900#003224
    White
    14.17
    Black
    1.48
  11. 950#001C13
    White
    17.86
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #7FFFD4 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.130; #7FFFD4 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.147 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.130
sRGB edge
0.130
Display P3 edge
0.147
Rec. 2020 edge
0.175
Dominant wavelength
506 nm
Excitation purity
15%
Chromaticity
x 0.2659, y 0.3809
  • This color#7FFFD4
  • Most vivid in sRGB#7FFFD4
  • Most vivid in Display P3oklch(0.915 0.147 169.0)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #7fffd4;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5844 1 0.8344); }
}

Mixing

Mixing #7FFFD4

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#BFFFEA
  • OKLab50%#C7FFE9
  • OKLCH50%#C9FFEA

Black #000000

  • sRGB50%#40806A
  • OKLab50%#2D6351
  • OKLCH50%#2D6351

Its complement #FFD5E8

  • sRGB50%#BFEADE
  • OKLab50%#CBECDE
  • OKLCH50%#FFDEA8
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #7fffd4, white);
color: color-mix(in oklch, #7fffd4 50%, white);

In use

#7FFFD4 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:117.15:1 Passes
  • Link and body-size textText, 4.5:11.22:1 Fails
  • Large headingLarge text, 3:11.22:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.22:1 Fails

For text on this page, the nearest shade that passes is #008768 4.50:1

Dark page

  • Button labelText, 4.5:117.15:1 Passes
  • Link and body-size textText, 4.5:115.30:1 Passes
  • Large headingLarge text, 3:115.30:1 Passes
  • Icons, borders and focus ringsNon-text, 3:115.30:1 Passes

Color vision

How #7FFFD4 looks with color blindness

Achromatopsia changes it most, ΔE2000 24.6; tritanopia changes it least, 10.0.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #F9F1D2 ΔE2000 23.6

    Distinct

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E6E2D7 ΔE2000 24.1

    Distinct

    Reads as off-white

  • Tritanopia

    No working blue (short-wavelength) cones

    #4CFFF3 ΔE2000 10.0

    Distinct

    Reads as pale soft cyan

  • Achromatopsia

    No cone color vision; lightness only

    #E8E8E8 ΔE2000 24.6

    Distinct

    Reads as off-white

Pairing check

Checked against its complement, #FFD5E8. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#7FFFD4 · #FFD5E846.4Stays distinct
Protanopia#F9F1D2 · #D8DCE919.5Stays distinct
Deuteranopia#E6E2D7 · #E1E3E77.5Harder to tell apart
Tritanopia#4CFFF3 · #FFD4DB57.2Stays distinct
Achromatopsia#E8E8E8 · #E0E0E01.8Easily confused

Harmony

Color harmonies for #7FFFD4

Its complement is #FFD5E8, a pale muted pink, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#7FFFD4
  • Complement#FFD5E8

Complementary

Open in Harmony Studio
  • −30°#B6F8A3
  • Base#7FFFD4
  • +30°#7DFAFF
  • Base#7FFFD4
  • +120°#E1DFFF
  • +240°#FFDAC7
  • Base#7FFFD4
  • +150°#F6D6FF
  • +210°#FFD8D7

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-aquamarine: #7fffd4;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        aquamarine: '#7fffd4',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-aquamarine: oklch(0.915 0.130 169.0);
}

Design token (W3C DTCG)

{
  "color": {
    "aquamarine": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.498, 1, 0.8314],
        "hex": "#7fffd4"
      },
      "$description": "CSS named color aquamarine"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let aquamarine = Color(.sRGB, red: 0.498, green: 1.000, blue: 0.831, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Aquamarine = Color(0xFF7FFFD4)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #7FFFD4 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.