Tailwind CSS v4 default palette
Tailwind teal-300: #46ECD5
In Tailwind CSS v4, teal-300 is defined as --color-teal-300: oklch(85.5% 0.138 181.071), which is #46ECD5 in hex and rgb(70, 236, 213): a very light, moderately saturated cyan. In Tailwind v3, teal-300 was #5EEAD4.
In OKLCH, teal-300 has a lightness of 85.5%, chroma 0.138 and hue 181.1°.
The value fits inside sRGB, so the hex #46ECD5 represents it without loss on any screen.
In v3, teal-300 was #5EEAD4. The v4 value is ΔE OK 1.3 away, below the point where most people can tell them apart; v4 is more saturated.
Tailwind teal is a blue-green between emerald and cyan, often used as a calm brand accent.
Color codes for teal-300
| Tailwind v4 token | --color-teal-300 |
|---|---|
| OKLCH (source value) | oklch(85.5% 0.138 181.071) |
| HEX | #46ECD5 |
| RGB | rgb(70, 236, 213) |
| HSL | hsl(172, 81%, 60%) |
| HWB | hwb(172 27% 7%) |
| CMYK (naive, no ICC profile) | cmyk(70%, 0%, 10%, 7%) |
| Decimal | 4,648,149 |
| Tailwind v3 hex | #5EEAD4 |
| Utility classes | bg-teal-300, text-teal-300, border-teal-300 |
Tailwind teal scale
Contrast and accessibility
On teal-300, black text has a contrast ratio of 14.21:1 and passes AAA at any text size; white text reaches 1.47: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-300 | 14.21:1 | Pass | Pass | Pass | Pass | 81.6 |
| White text on teal-300 | 1.47:1 | Fail | Fail | Fail | Fail | −25.1 |
| Teal-300 text on white | 1.47:1 | Fail | Fail | Fail | Fail | 22.1 |
| Teal-300 text on black | 14.21:1 | Pass | Pass | Pass | Pass | −81.2 |
Tints and shades
Each step mixes var(--color-teal-300) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-teal-300), white 25%) in CSS.
Tints (mixed with white)
- 5%
#4fedd7 - 15%
#62efdb - 25%
#74f1e0 - 35%
#87f3e4 - 45%
#99f5e8 - 55%
#acf6ec - 65%
#bef8f0 - 75%
#d1faf5 - 85%
#e3fcf9 - 95%
#f6fefd
Shades (mixed with black)
- 5%
#43e0ca - 15%
#3cc9b5 - 25%
#35b1a0 - 35%
#2e998a - 45%
#278275 - 55%
#1f6a60 - 65%
#19534b - 75%
#123b35 - 85%
#0b2320 - 95%
#040c0b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, teal-300's complementary color is #FFB1CB (close to lightpink), its analogous colors are #86E9A0 and #39E7FF, and its triadic partners are #DCBFFF and #FFBB75. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #ffb1cb |
| Analogous | −30°, +30° | #86e9a0#39e7ff |
| Triadic | +120°, +240° | #dcbfff#ffbb75 |
| Split-complementary | +150°, +210° | #ffadf9#ffb6a6 |
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-300 is a cool color: its hue is 172° 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
| Color | HEX | ΔE OK |
|---|---|---|
| turquoise | #40e0d0 | 3.5 |
| aqua | #00ffff | 6.3 |
| aquamarine | #7fffd4 | 6.7 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| emerald-300 | #5ee9b5 | 4.1 |
| cyan-300 | #53eafd | 6.1 |
| green-300 | #7bf1a8 | 6.9 |
Code snippets
<div class="bg-teal-300 text-black">...</div>
<p class="text-teal-300 border-teal-300">...</p>.element {
color: var(--color-teal-300);
background-color: oklch(85.5% 0.138 181.071);
border-color: #46ecd5;
outline-color: rgb(70 236 213);
}import SwiftUI
extension Color {
static let teal300 = Color(red: 0.275, green: 0.925, blue: 0.835)
}import androidx.compose.ui.graphics.Color
val Teal300 = Color(0xFF46ECD5)import 'package:flutter/material.dart';
const teal300 = Color(0xFF46ECD5);<!-- res/values/colors.xml -->
<color name="teal_300">#46ECD5</color>Frequently asked questions
- What is the hex code for Tailwind teal-300?
- In Tailwind CSS v4, teal-300 is oklch(85.5% 0.138 181.071), which converts to #46ECD5 (rgb(70, 236, 213)) in sRGB. In Tailwind v3 the same name was #5EEAD4.
- What is the difference between teal-300 in Tailwind v3 and v4?
- v3 used the hex #5EEAD4; v4 redefined the palette in OKLCH as oklch(85.5% 0.138 181.071). In v3, teal-300 was #5EEAD4. The v4 value is ΔE OK 1.3 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use teal-300 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-teal-300). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on teal-300?
- White text on teal-300 has a contrast ratio of 1.47:1, which fails AA even for large text under WCAG 2.2. Black text reaches 14.21:1 and passes both AA and AAA. In APCA terms that is Lc −25.1 for white and Lc 81.6 for black.
- Which CSS named color is closest to teal-300?
- The closest is turquoise (#40E0D0) at ΔE OK 3.5, followed by aqua and aquamarine.
Last reviewed by Arielton Oberek.