Skip to content

Tailwind CSS v4 default palette

Tailwind cyan-100: #CEFAFE

In Tailwind CSS v4, cyan-100 is defined as --color-cyan-100: oklch(95.6% 0.045 203.388), which is #CEFAFE in hex and rgb(206, 250, 254): an off-white with a cyan tint. In Tailwind v3, cyan-100 was #CFFAFE.

cyan-100#CEFAFE

In OKLCH, cyan-100 has a lightness of 95.6%, chroma 0.045 and hue 203.4°.

The value fits inside sRGB, so the hex #CEFAFE represents it without loss on any screen.

In v3, cyan-100 was #CFFAFE. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.

Tailwind cyan is a bright aqua blue; its light shades are popular for informational backgrounds.

Color codes for cyan-100

Color codes for cyan-100
Tailwind v4 token--color-cyan-100
OKLCH (source value)oklch(95.6% 0.045 203.388)
HEX#CEFAFE
RGBrgb(206, 250, 254)
HSLhsl(185, 96%, 90%)
HWBhwb(185 81% 0%)
CMYK (naive, no ICC profile)cmyk(19%, 2%, 0%, 0%)
Decimal13,564,670
Tailwind v3 hex#CFFAFE
Utility classesbg-cyan-100, text-cyan-100, border-cyan-100

Tailwind cyan scale

Contrast and accessibility

On cyan-100, black text has a contrast ratio of 18.72:1 and passes AAA at any text size; white text reaches 1.12: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 cyan-10018.72:1PassPassPassPass98.2
White text on cyan-1001.12:1FailFailFailFail0.0
Cyan-100 text on white1.12:1FailFailFailFail0.0
Cyan-100 text on black18.72:1PassPassPassPass−99.3

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #d0fafe
  2. 15%
    #d5fbfe
  3. 25%
    #dafbfe
  4. 35%
    #dffcfe
  5. 45%
    #e4fcfe
  6. 55%
    #e9fdff
  7. 65%
    #eefdff
  8. 75%
    #f3feff
  9. 85%
    #f8feff
  10. 95%
    #fdffff

Shades (mixed with black)

  1. 5%
    #c4eef1
  2. 15%
    #afd5d8
  3. 25%
    #9bbcbf
  4. 35%
    #86a3a5
  5. 45%
    #718a8c
  6. 55%
    #5d7072
  7. 65%
    #485859
  8. 75%
    #343f40
  9. 85%
    #1f2626
  10. 95%
    #0a0d0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, cyan-100's complementary color is #FFE6E3 (close to mistyrose), its analogous colors are #D3FBEE and #D4F6FF, and its triadic partners are #FFE7FF and #FFEFCF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffe6e3
Analogous−30°, +30°#d3fbee#d4f6ff
Triadic+120°, +240°#ffe7ff#ffefcf
Split-complementary+150°, +210°#ffe5f3#ffe9d5

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?

Tailwind cyan-100 is a cool color: its hue is 185° 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
lightcyan#e0ffff2.6
aliceblue#f0f8ff4.1
azure#f0ffff4.4

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
teal-100#cbfbf12.0
sky-100#dff2fe2.8
emerald-100#d0fae53.5

Code snippets

Tailwind CSS
<div class="bg-cyan-100 text-black">...</div>
<p class="text-cyan-100 border-cyan-100">...</p>
CSS
.element {
  color: var(--color-cyan-100);
  background-color: oklch(95.6% 0.045 203.388);
  border-color: #cefafe;
  outline-color: rgb(206 250 254);
}
SwiftUI
import SwiftUI

extension Color {
  static let cyan100 = Color(red: 0.808, green: 0.980, blue: 0.996)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const cyan100 = Color(0xFFCEFAFE);
Android XML
<!-- res/values/colors.xml -->
<color name="cyan_100">#CEFAFE</color>

Frequently asked questions

What is the hex code for Tailwind cyan-100?
In Tailwind CSS v4, cyan-100 is oklch(95.6% 0.045 203.388), which converts to #CEFAFE (rgb(206, 250, 254)) in sRGB. In Tailwind v3 the same name was #CFFAFE.
What is the difference between cyan-100 in Tailwind v3 and v4?
v3 used the hex #CFFAFE; v4 redefined the palette in OKLCH as oklch(95.6% 0.045 203.388). In v3, cyan-100 was #CFFAFE. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
How do I use cyan-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-cyan-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on cyan-100?
White text on cyan-100 has a contrast ratio of 1.12:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.72:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 98.2 for black.
Which CSS named color is closest to cyan-100?
The closest is lightcyan (#E0FFFF) at ΔE OK 2.6, followed by aliceblue and azure.

Last reviewed by Arielton Oberek.