Tailwind CSS v4 default palette
Tailwind teal-50: #F0FDFA
In Tailwind CSS v4, teal-50 is defined as --color-teal-50: oklch(98.4% 0.014 180.72), which is #F0FDFA in hex and rgb(240, 253, 250): an off-white with a cyan tint. In Tailwind v3, teal-50 was #F0FDFA.
In OKLCH, teal-50 has a lightness of 98.4%, chroma 0.014 and hue 180.7°.
The value fits inside sRGB, so the hex #F0FDFA represents it without loss on any screen.
In v3, teal-50 was #F0FDFA. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
Tailwind teal is a blue-green between emerald and cyan, often used as a calm brand accent.
Color codes for teal-50
| Tailwind v4 token | --color-teal-50 |
|---|---|
| OKLCH (source value) | oklch(98.4% 0.014 180.72) |
| HEX | #F0FDFA |
| RGB | rgb(240, 253, 250) |
| HSL | hsl(166, 76%, 97%) |
| HWB | hwb(166 94% 1%) |
| CMYK (naive, no ICC profile) | cmyk(5%, 0%, 1%, 1%) |
| Decimal | 15,793,658 |
| Tailwind v3 hex | #F0FDFA |
| Utility classes | bg-teal-50, text-teal-50, border-teal-50 |
Tailwind teal scale
Contrast and accessibility
On teal-50, black text has a contrast ratio of 20.13:1 and passes AAA at any text size; white text reaches 1.04: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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on teal-50 | 20.13:1 | Pass | Pass | Pass | Pass | 103.1 |
| White text on teal-50 | 1.04:1 | Fail | Fail | Fail | Fail | 0.0 |
| Teal-50 text on white | 1.04:1 | Fail | Fail | Fail | Fail | 0.0 |
| Teal-50 text on black | 20.13:1 | Pass | Pass | Pass | Pass | −104.6 |
Tints and shades
Each step mixes var(--color-teal-50) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-teal-50), white 25%) in CSS.
Tints (mixed with white)
- 5%
#f1fdfa - 15%
#f2fdfb - 25%
#f4fefb - 35%
#f5fefc - 45%
#f7fefc - 55%
#f8fefd - 65%
#fafefd - 75%
#fbfffe - 85%
#fdfffe - 95%
#feffff
Shades (mixed with black)
- 5%
#e4f0ee - 15%
#ccd7d5 - 25%
#b4bebc - 35%
#9ca4a3 - 45%
#848b8a - 55%
#6c7270 - 65%
#545958 - 75%
#3c3f3f - 85%
#242626 - 95%
#0c0d0d
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, teal-50's complementary color is #FFF6F9 (close to snow), its analogous colors are #F3FDF5 and #F0FDFF, and its triadic partners are #FBF8FF and #FFF8F1. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #fff6f9 |
| Analogous | −30°, +30° | #f3fdf5#f0fdff |
| Triadic | +120°, +240° | #fbf8ff#fff8f1 |
| Split-complementary | +150°, +210° | #fff7fe#fff7f4 |
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 teal-50 is close to neutral: its OKLCH chroma is only 0.014, so its temperature comes from context. The faint 166° hue gives it a slightly cool cast.
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.
Code snippets
<div class="bg-teal-50 text-black">...</div>
<p class="text-teal-50 border-teal-50">...</p>.element {
color: var(--color-teal-50);
background-color: oklch(98.4% 0.014 180.72);
border-color: #f0fdfa;
outline-color: rgb(240 253 250);
}import SwiftUI
extension Color {
static let teal50 = Color(red: 0.941, green: 0.992, blue: 0.980)
}import androidx.compose.ui.graphics.Color
val Teal50 = Color(0xFFF0FDFA)import 'package:flutter/material.dart';
const teal50 = Color(0xFFF0FDFA);<!-- res/values/colors.xml -->
<color name="teal_50">#F0FDFA</color>Frequently asked questions
- What is the hex code for Tailwind teal-50?
- In Tailwind CSS v4, teal-50 is oklch(98.4% 0.014 180.72), which converts to #F0FDFA (rgb(240, 253, 250)) in sRGB. In Tailwind v3 the same name was #F0FDFA.
- What is the difference between teal-50 in Tailwind v3 and v4?
- v3 used the hex #F0FDFA; v4 redefined the palette in OKLCH as oklch(98.4% 0.014 180.72). In v3, teal-50 was #F0FDFA. The v4 value is ΔE OK 0.0 away, below the point where most people can tell them apart.
- How do I use teal-50 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-teal-50). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on teal-50?
- White text on teal-50 has a contrast ratio of 1.04:1, which fails AA even for large text under WCAG 2.2. Black text reaches 20.13:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 103.1 for black.
- Which CSS named color is closest to teal-50?
- The closest is azure (#F0FFFF) at ΔE OK 0.7, followed by mintcream and honeydew.
Last reviewed by Arielton Oberek.