Skip to content

Tailwind CSS v4 default palette

Tailwind cyan-200: #A2F4FD

In Tailwind CSS v4, cyan-200 is defined as --color-cyan-200: oklch(91.7% 0.08 205.041), which is #A2F4FD in hex and rgb(162, 244, 253): a pale, muted cyan. In Tailwind v3, cyan-200 was #A5F3FC.

cyan-200#A2F4FD

In OKLCH, cyan-200 has a lightness of 91.7%, chroma 0.080 and hue 205.0°.

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

In v3, cyan-200 was #A5F3FC. The v4 value is ΔE OK 0.3 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-200

Color codes for cyan-200
Tailwind v4 token--color-cyan-200
OKLCH (source value)oklch(91.7% 0.08 205.041)
HEX#A2F4FD
RGBrgb(162, 244, 253)
HSLhsl(186, 96%, 81%)
HWBhwb(186 64% 1%)
CMYK (naive, no ICC profile)cmyk(36%, 4%, 0%, 1%)
Decimal10,679,549
Tailwind v3 hex#A5F3FC
Utility classesbg-cyan-200, text-cyan-200, border-cyan-200

Tailwind cyan scale

Contrast and accessibility

On cyan-200, black text has a contrast ratio of 16.89:1 and passes AAA at any text size; white text reaches 1.24: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-20016.89:1PassPassPassPass91.6
White text on cyan-2001.24:1FailFailFailFail−13.8
Cyan-200 text on white1.24:1FailFailFailFail11.9
Cyan-200 text on black16.89:1PassPassPassPass−92.1

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #a7f5fd
  2. 15%
    #b0f6fd
  3. 25%
    #b9f7fe
  4. 35%
    #c3f8fe
  5. 45%
    #ccf9fe
  6. 55%
    #d5fafe
  7. 65%
    #defbfe
  8. 75%
    #e8fcff
  9. 85%
    #f1fdff
  10. 95%
    #fafeff

Shades (mixed with black)

  1. 5%
    #9ae8f0
  2. 15%
    #8acfd7
  3. 25%
    #7ab7be
  4. 35%
    #699fa4
  5. 45%
    #59868b
  6. 55%
    #496e72
  7. 65%
    #395559
  8. 75%
    #293d3f
  9. 85%
    #182526
  10. 95%
    #080c0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, cyan-200's complementary color is #FFD4CE (close to peachpuff), its analogous colors are #AAF6E1 and #B5ECFF, and its triadic partners are #FFD2FF and #FCE0A6. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffd4ce
Analogous−30°, +30°#aaf6e1#b5ecff
Triadic+120°, +240°#ffd2ff#fce0a6
Split-complementary+150°, +210°#ffd0e6#ffd7b4

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-200 is a cool color: its hue is 186° 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
paleturquoise#afeeee2.2
powderblue#b0e0e65.1
lightblue#add8e67.0

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
sky-200#b8e6fe4.1
teal-200#96f7e44.1
cyan-100#cefafe5.2

Code snippets

Tailwind CSS
<div class="bg-cyan-200 text-black">...</div>
<p class="text-cyan-200 border-cyan-200">...</p>
CSS
.element {
  color: var(--color-cyan-200);
  background-color: oklch(91.7% 0.08 205.041);
  border-color: #a2f4fd;
  outline-color: rgb(162 244 253);
}
SwiftUI
import SwiftUI

extension Color {
  static let cyan200 = Color(red: 0.635, green: 0.957, blue: 0.992)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const cyan200 = Color(0xFFA2F4FD);
Android XML
<!-- res/values/colors.xml -->
<color name="cyan_200">#A2F4FD</color>

Frequently asked questions

What is the hex code for Tailwind cyan-200?
In Tailwind CSS v4, cyan-200 is oklch(91.7% 0.08 205.041), which converts to #A2F4FD (rgb(162, 244, 253)) in sRGB. In Tailwind v3 the same name was #A5F3FC.
What is the difference between cyan-200 in Tailwind v3 and v4?
v3 used the hex #A5F3FC; v4 redefined the palette in OKLCH as oklch(91.7% 0.08 205.041). In v3, cyan-200 was #A5F3FC. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use cyan-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-cyan-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on cyan-200?
White text on cyan-200 has a contrast ratio of 1.24:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.89:1 and passes both AA and AAA. In APCA terms that is Lc −13.8 for white and Lc 91.6 for black.
Which CSS named color is closest to cyan-200?
The closest is paleturquoise (#AFEEEE) at ΔE OK 2.2, followed by powderblue and lightblue.

Last reviewed by Arielton Oberek.