Skip to content

CSS named color

MediumAquamarine #66CDAA

MediumAquamarine (CSS keyword mediumaquamarine) has the hex code #66CDAA and the RGB value rgb(102, 205, 170): a light, moderately saturated green-cyan.

MediumAquamarine#66CDAA

A softer, darker version of aquamarine (#66cdaa), closer to a seafoam green. It reads as calm and is popular for health and wellness themes.

Color codes for MediumAquamarine

Color codes for MediumAquamarine
CSS keywordmediumaquamarine
HEX#66CDAA
RGBrgb(102, 205, 170)
HSLhsl(160, 51%, 60%)
HWBhwb(160 40% 20%)
OKLCHoklch(77.7% 0.11 168.8)
CMYK (naive, no ICC profile)cmyk(50%, 0%, 17%, 20%)
Decimal6,737,322
Hue familyGreens

Contrast and accessibility

On mediumaquamarine, black text has a contrast ratio of 10.87:1 and passes AAA at any text size; white text reaches 1.93: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 mediumaquamarine10.87:1PassPassPassPass67.1
White text on mediumaquamarine1.93:1FailFailFailFail−41.1
Mediumaquamarine text on white1.93:1FailFailFailFail36.8
Mediumaquamarine text on black10.87:1PassPassPassPass−65.7

Tints and shades

Each step mixes mediumaquamarine with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, mediumaquamarine, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #6ed0ae
  2. 15%
    #7dd5b7
  3. 25%
    #8cdabf
  4. 35%
    #9cdfc8
  5. 45%
    #abe4d0
  6. 55%
    #bae9d9
  7. 65%
    #c9eee1
  8. 75%
    #d9f3ea
  9. 85%
    #e8f8f2
  10. 95%
    #f7fdfb

Shades (mixed with black)

  1. 5%
    #61c3a2
  2. 15%
    #57ae91
  3. 25%
    #4d9a80
  4. 35%
    #42856f
  5. 45%
    #38715e
  6. 55%
    #2e5c4c
  7. 65%
    #24483b
  8. 75%
    #1a332b
  9. 85%
    #0f1f1a
  10. 95%
    #050a09

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mediumaquamarine's complementary color is #EB99C2 (close to plum), its analogous colors are #92C783 and #4DCCD1, and its triadic partners are #B4ABF8 and #F0A177. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#eb99c2
Analogous−30°, +30°#92c783#4dccd1
Triadic+120°, +240°#b4abf8#f0a177
Split-complementary+150°, +210°#d5a0e3#f4999b

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?

MediumAquamarine 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
mediumturquoise#48d1cc4.6
darkseagreen#8fbc8f5.6
turquoise#40e0d06.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
teal-400#00d5be5.1
emerald-400#00d4927.0
emerald-300#5ee9b57.6

Code snippets

CSS
.element {
  color: mediumaquamarine;
  background-color: #66cdaa;
  border-color: rgb(102 205 170);
  outline-color: oklch(77.7% 0.11 168.8);
}
Tailwind CSS
<div class="bg-[#66cdaa] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-mediumaquamarine: #66cdaa;
}
/* then use bg-mediumaquamarine, text-mediumaquamarine, border-mediumaquamarine */
SwiftUI
import SwiftUI

extension Color {
  static let mediumaquamarine = Color(red: 0.400, green: 0.804, blue: 0.667)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const mediumaquamarine = Color(0xFF66CDAA);
Android XML
<!-- res/values/colors.xml -->
<color name="mediumaquamarine">#66CDAA</color>

Frequently asked questions

What is the hex code for mediumaquamarine?
The hex code for mediumaquamarine is #66CDAA. The same color is rgb(102, 205, 170), hsl(160, 51%, 60%) and oklch(77.7% 0.11 168.8), and in CSS you can also write the keyword mediumaquamarine directly.
Is mediumaquamarine a warm or cool color?
MediumAquamarine 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 mediumaquamarine?
Rotating the hue in OKLCH while keeping lightness and chroma, mediumaquamarine's complementary color is #EB99C2 (close to plum), its analogous colors are #92C783 and #4DCCD1, and its triadic partners are #B4ABF8 and #F0A177. For text on top, black gives the higher contrast.
Can you use white text on mediumaquamarine?
White text on mediumaquamarine has a contrast ratio of 1.93:1, which fails AA even for large text under WCAG 2.2. Black text reaches 10.87:1 and passes both AA and AAA. In APCA terms that is Lc −41.1 for white and Lc 67.1 for black.
What is the RGB value of mediumaquamarine?
MediumAquamarine is rgb(102, 205, 170): red 102, green 205 and blue 170 on the 0 to 255 scale, or 40.0%, 80.4% and 66.7%. As a decimal integer it is 6737322.

Last reviewed by Arielton Oberek.