Tailwind CSS v3 color

Tailwind teal-100 #CCFBF1

Tailwind CSS v3's teal-100 is #CCFBF1. It is a pale grayish cyan in the cyan family. In OKLCH it sits at lightness 0.953, chroma 0.050 and hue 180.8°. The nearest CSS named color is paleturquoise (#AFEEEE), ΔE2000 5.7 away.

Relative luminance
0.8818
OKLCH L · C · h
0.953 · 0.050 · 180.8
Best text
Black 18.63:1
Hue family
Cyan

#CCFBF1 color codes

HEX
#CCFBF1
RGB
rgb(204, 251, 241)
HSL
hsl(167, 85%, 89%)
OKLCH
oklch(0.953 0.050 180.8)
OKLab
oklab(0.953 -0.050 -0.001)
CIELAB (D65)
L* 95.24, a* -16.87, b* -0.16
XYZ (D65)
X 75.27, Y 88.18, Z 96.26
CMYK (naive)
cmyk(19%, 0%, 4%, 2%)

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 #CCFBF1 accessible?

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

    18.63:1

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

    1.12:1

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

    Text is here, unreadable at 1.12:1

  • As text on black

    18.63:1

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

    1.12:1

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

    Text is here, unreadable at 1.12:1

Nearest versions that pass 4.5:1

  • For text on white

    #527E75 4.56:1

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

  • For text on black

    #CCFBF1 18.63:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#DAFEF6
    White
    1.07
    Black
    19.48
  2. 100This color#CCFBF1
    White
    1.12
    Black
    18.63
  3. 200#B9E1D9
    White
    1.41
    Black
    14.83
  4. 300#9EC8BF
    White
    1.83
    Black
    11.46
  5. 400#80ACA3
    White
    2.51
    Black
    8.34
  6. 500#659088
    White
    3.56
    Black
    5.89
  7. 600#4D7870
    White
    4.95
    Black
    4.23
  8. 700#386159
    White
    6.94
    Black
    3.02
  9. 800#214841
    White
    10.15
    Black
    2.06
  10. 900#0C302A
    White
    14.26
    Black
    1.47
  11. 950#001B17
    White
    17.96
    Black
    1.16

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

Tailwind CSS v3 teal scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#F0FDFA
    White
    1.04
    Black
    20.13
  2. 100This color#CCFBF1
    White
    1.12
    Black
    18.63
  3. 200#99F6E4
    White
    1.26
    Black
    16.65
  4. 300#5EEAD4
    White
    1.47
    Black
    14.19
  5. 400#2DD4BF
    White
    1.86
    Black
    11.28
  6. 500#14B8A6
    White
    2.48
    Black
    8.43
  7. 600#0D9488
    White
    3.74
    Black
    5.60
  8. 700#0F766E
    White
    5.47
    Black
    3.83
  9. 800#115E59
    White
    7.58
    Black
    2.76
  10. 900#134E4A
    White
    9.47
    Black
    2.21
  11. 950#042F2E
    White
    14.47
    Black
    1.45

Gamut

How vivid #CCFBF1 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.068; #CCFBF1 uses 74% of it. Display P3, which many recent phones and laptops show, reaches 0.077 there: 14% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.050
sRGB edge
0.068
Display P3 edge
0.077
Rec. 2020 edge
0.092
Dominant wavelength
497 nm
Excitation purity
8%
Chromaticity
x 0.2898, y 0.3395
  • This color#CCFBF1
  • Most vivid in sRGB#BEFFF2
  • Most vivid in Display P3oklch(0.953 0.077 180.8)

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

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

Mixing

Mixing #CCFBF1

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

Black #000000

  • sRGB50%#667E79
  • OKLab50%#4E615D
  • OKLCH50%#4E615D

Its complement #FFE9EE

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

In use

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

For text on this page, the nearest shade that passes is #527E75 4.56:1

Dark page

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

Color vision

How #CCFBF1 looks with color blindness

Deuteranopia changes it most, ΔE2000 16.5; tritanopia changes it least, 3.2.

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

    #F7F5F1 ΔE2000 16.4

    Distinct

    Reads as off-white

  • Deuteranopia

    No working green (medium-wavelength) cones

    #EEEFF2 ΔE2000 16.5

    Distinct

    Reads as off-white

  • Tritanopia

    No working blue (short-wavelength) cones

    #C0FDF8 ΔE2000 3.2

    Close match

    Reads as pale muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #F1F1F1 ΔE2000 16.1

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#CCFBF1 · #FFE9EE30.2Stays distinct
Protanopia#F7F5F1 · #ECECEE3.6Easily confused
Deuteranopia#EEEFF2 · #F0F0EE2.6Easily confused
Tritanopia#C0FDF8 · #FFE8EB36.3Stays distinct
Achromatopsia#F1F1F1 · #EEEEEE0.6Easily confused

Harmony

Color harmonies for #CCFBF1

Its complement is #FFE9EE, a pale grayish pink.

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

Open the Harmony Studio
  • Base#CCFBF1
  • Complement#FFE9EE

Complementary

Open in Harmony Studio
  • −30°#D8FADF
  • Base#CCFBF1
  • +30°#D1F7FF
  • Base#CCFBF1
  • +120°#F2ECFF
  • +240°#FFEBDC
  • Base#CCFBF1
  • +150°#FFE7FB
  • +210°#FFEAE6

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-teal-100: #ccfbf1;
}

Tailwind config

// tailwind.config.js — already built in as teal-100;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        teal: { 100: '#ccfbf1' },
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  /* v4 has its own teal-100; this pins the v3 value. */
  --color-teal-100: oklch(0.953 0.050 180.8);
}

Design token (W3C DTCG)

{
  "color": {
    "teal-100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.8, 0.9843, 0.9451],
        "hex": "#ccfbf1"
      },
      "$description": "Tailwind CSS v3 teal-100"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let teal100 = Color(.sRGB, red: 0.800, green: 0.984, blue: 0.945, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Teal100 = Color(0xFFCCFBF1)
}

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

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