CSS named color

Light Cyan #E0FFFF

The CSS keyword lightcyan is #E0FFFF. It is a pale grayish cyan in the neutral family. In OKLCH it sits at lightness 0.978, chroma 0.032 and hue 196.6°.

Relative luminance
0.9459
OKLCH L · C · h
0.978 · 0.032 · 196.6
Best text
Black 19.91:1
Hue family
Neutral

#E0FFFF color codes

HEX
#E0FFFF
RGB
rgb(224, 255, 255)
HSL
hsl(180, 100%, 94%)
OKLCH
oklch(0.978 0.032 196.6)
OKLab
oklab(0.978 -0.031 -0.009)
CIELAB (D65)
L* 97.87, a* -9.94, b* -3.38
XYZ (D65)
X 84.55, Y 94.59, Z 108.39
CMYK (naive)
cmyk(12%, 0%, 0%, 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 #E0FFFF accessible?

Black text on it reaches 19.91:1, passing AAA. White text fails at 1.05: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

    19.91:1

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

    1.05:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.05:1

  • As text on black

    19.91:1

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

    1.05:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.05:1

Nearest versions that pass 4.5:1

  • For text on white

    #607B7C 4.54:1

    Darkening its OKLCH lightness from 0.98 to 0.56 reaches 4.54:1 on white, keeping the hue.

  • For text on black

    #E0FFFF 19.91:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #E0FFFF 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 #E0FFFF

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

  1. 50This color#E0FFFF
    White
    1.05
    Black
    19.91
  2. 100#D8F1F1
    White
    1.18
    Black
    17.77
  3. 200#C3DEDE
    White
    1.41
    Black
    14.82
  4. 300#A8C4C4
    White
    1.84
    Black
    11.35
  5. 400#8CA8A8
    White
    2.53
    Black
    8.28
  6. 500#708C8D
    White
    3.60
    Black
    5.82
  7. 600#597575
    White
    4.96
    Black
    4.22
  8. 700#445E5E
    White
    6.98
    Black
    3.00
  9. 800#2D4545
    White
    10.25
    Black
    2.04
  10. 900#182D2D
    White
    14.46
    Black
    1.45
  11. 950#07191A
    White
    18.05
    Black
    1.16

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

Gamut

How vivid #E0FFFF can get

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

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.032
sRGB edge
0.032
Display P3 edge
0.034
Rec. 2020 edge
0.034
Dominant wavelength
491 nm
Excitation purity
7%
Chromaticity
x 0.2941, y 0.3290
  • This color#E0FFFF
  • Most vivid in sRGB#E0FFFF
  • Most vivid in Display P3oklch(0.978 0.034 196.6)

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

Use the wider color where screens show it
.accent {
  color: #e0ffff;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.8962 0.9981 1); }
}

Mixing

Mixing #E0FFFF

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%#F0FFFF
  • OKLab50%#F0FFFF
  • OKLCH50%#F0FFFF

Black #000000

  • sRGB50%#708080
  • OKLab50%#566363
  • OKLCH50%#566363

Its complement #FFF5F5

  • sRGB50%#F0FAFA
  • OKLab50%#F0FAFA
  • OKLCH50%#F9F9E9
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #e0ffff, white);
color: color-mix(in oklch, #e0ffff 50%, white);

In use

#E0FFFF 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:119.91:1 Passes
  • Link and body-size textText, 4.5:11.05:1 Fails
  • Large headingLarge text, 3:11.05:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.05:1 Fails

For text on this page, the nearest shade that passes is #607B7C 4.54:1

Dark page

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

Color vision

How #E0FFFF looks with color blindness

Deuteranopia changes it most, ΔE2000 11.8; tritanopia changes it least, 2.4.

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

    #FBFCFF ΔE2000 11.5

    Distinct

    Reads as white

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F4F7FF ΔE2000 11.8

    Distinct

    Reads as off-white

  • Tritanopia

    No working blue (short-wavelength) cones

    #D7FFFF ΔE2000 2.4

    Close match

    Reads as pale grayish cyan

  • Achromatopsia

    No cone color vision; lightness only

    #F9F9F9 ΔE2000 11.4

    Distinct

    Reads as off-white

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #E0FFFF

Its complement is #FFF5F5, an off-white.

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

Open the Harmony Studio
  • Base#E0FFFF
  • Complement#FFF5F5

Complementary

Open in Harmony Studio
  • −30°#E5FFF3
  • Base#E0FFFF
  • +30°#EFFAFF
  • Base#E0FFFF
  • +120°#FCF5FF
  • +240°#FFF6EA
  • Base#E0FFFF
  • +150°#FFF4F9
  • +210°#FFF6F1

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-lightcyan: #e0ffff;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        lightcyan: '#e0ffff',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-lightcyan: oklch(0.978 0.032 196.6);
}

Design token (W3C DTCG)

{
  "color": {
    "lightcyan": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8784, 1, 1],
        "hex": "#e0ffff"
      },
      "$description": "CSS named color lightcyan"
    }
  }
}

SwiftUI color

import SwiftUI

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

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Lightcyan = Color(0xFFE0FFFF)
}

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 #E0FFFF in the tools

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