Skip to content

CSS named color

LightSeaGreen #20B2AA

LightSeaGreen (CSS keyword lightseagreen) has the hex code #20B2AA and the RGB value rgb(32, 178, 170): a medium, moderately saturated cyan.

LightSeaGreen#20B2AA

A medium teal-green (#20b2aa) that is actually brighter and bluer than seagreen. It is a common accent in aquatic and health-themed palettes.

Color codes for LightSeaGreen

Color codes for LightSeaGreen
CSS keywordlightseagreen
HEX#20B2AA
RGBrgb(32, 178, 170)
HSLhsl(177, 70%, 41%)
HWBhwb(177 13% 30%)
OKLCHoklch(69.1% 0.114 189)
CMYK (naive, no ICC profile)cmyk(82%, 0%, 4%, 30%)
Decimal2,142,890
Hue familyCyans and teals

Contrast and accessibility

On lightseagreen, black text has a contrast ratio of 8.01:1 and passes AAA at any text size; white text reaches 2.62: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 lightseagreen8.01:1PassPassPassPass53.4
White text on lightseagreen2.62:1FailFailFailFail−55.8
Lightseagreen text on white2.62:1FailFailFailFail50.6
Lightseagreen text on black8.01:1PassPassPassPass−51.3

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #2bb6ae
  2. 15%
    #41beb7
  3. 25%
    #58c5bf
  4. 35%
    #6ecdc8
  5. 45%
    #84d5d0
  6. 55%
    #9bdcd9
  7. 65%
    #b1e4e1
  8. 75%
    #c7ecea
  9. 85%
    #def3f2
  10. 95%
    #f4fbfb

Shades (mixed with black)

  1. 5%
    #1ea9a2
  2. 15%
    #1b9791
  3. 25%
    #188680
  4. 35%
    #15746f
  5. 45%
    #12625e
  6. 55%
    #0e504c
  7. 65%
    #0b3e3b
  8. 75%
    #082d2b
  9. 85%
    #051b1a
  10. 95%
    #020909

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, lightseagreen's complementary color is #D87C8D (close to palevioletred), its analogous colors are #54B182 and #2DACCB, and its triadic partners are #B088D1 and #C98E46. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#d87c8d
Analogous−30°, +30°#54b182#2daccb
Triadic+120°, +240°#b088d1#c98e46
Split-complementary+150°, +210°#ca7fb3#d88265

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?

LightSeaGreen is a cool color: its hue is 177° 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
cadetblue#5f9ea06.1
mediumseagreen#3cb3718.1
darkturquoise#00ced18.4

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
teal-500#00bba73.2
cyan-500#00b8db6.9
emerald-500#00bc7d8.5

Code snippets

CSS
.element {
  color: lightseagreen;
  background-color: #20b2aa;
  border-color: rgb(32 178 170);
  outline-color: oklch(69.1% 0.114 189);
}
Tailwind CSS
<div class="bg-[#20b2aa] text-black">...</div>

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

extension Color {
  static let lightseagreen = Color(red: 0.125, green: 0.698, blue: 0.667)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const lightseagreen = Color(0xFF20B2AA);
Android XML
<!-- res/values/colors.xml -->
<color name="lightseagreen">#20B2AA</color>

Frequently asked questions

What is the hex code for lightseagreen?
The hex code for lightseagreen is #20B2AA. The same color is rgb(32, 178, 170), hsl(177, 70%, 41%) and oklch(69.1% 0.114 189), and in CSS you can also write the keyword lightseagreen directly.
Is lightseagreen a warm or cool color?
LightSeaGreen is a cool color: its hue is 177° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with lightseagreen?
Rotating the hue in OKLCH while keeping lightness and chroma, lightseagreen's complementary color is #D87C8D (close to palevioletred), its analogous colors are #54B182 and #2DACCB, and its triadic partners are #B088D1 and #C98E46. For text on top, black gives the higher contrast.
Can you use white text on lightseagreen?
White text on lightseagreen has a contrast ratio of 2.62:1, which fails AA even for large text under WCAG 2.2. Black text reaches 8.01:1 and passes both AA and AAA. In APCA terms that is Lc −55.8 for white and Lc 53.4 for black.
What is the RGB value of lightseagreen?
LightSeaGreen is rgb(32, 178, 170): red 32, green 178 and blue 170 on the 0 to 255 scale, or 12.5%, 69.8% and 66.7%. As a decimal integer it is 2142890.

Last reviewed by Arielton Oberek.