Tailwind CSS v4 default palette
Tailwind teal-700: #00786F
In Tailwind CSS v4, teal-700 is defined as --color-teal-700: oklch(51.1% 0.096 186.391), which is #00786F in hex and rgb(0, 120, 111): a medium-dark, moderately saturated cyan. In Tailwind v3, teal-700 was #0F766E.
In OKLCH, teal-700 has a lightness of 51.1%, chroma 0.096 and hue 186.4°.
This OKLCH value lies outside sRGB. The hex #00786F is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.1741 0.4613 0.4339).
In v3, teal-700 was #0F766E. The v4 value is ΔE OK 1.0 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-700
| Tailwind v4 token | --color-teal-700 |
|---|---|
| OKLCH (source value) | oklch(51.1% 0.096 186.391) |
| HEX | #00786F |
| RGB | rgb(0, 120, 111) |
| HSL | hsl(176, 100%, 24%) |
| HWB | hwb(176 0% 53%) |
| CMYK (naive, no ICC profile) | cmyk(100%, 0%, 7%, 53%) |
| Decimal | 30,831 |
| Display P3 | color(display-p3 0.1741 0.4613 0.4339) |
| Tailwind v3 hex | #0F766E |
| Utility classes | bg-teal-700, text-teal-700, border-teal-700 |
Tailwind teal scale
Contrast and accessibility
On teal-700, white text has a contrast ratio of 5.36:1 and passes AA for normal text; black text reaches 3.91: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-700 | 3.91:1 | Fail | Pass | Fail | Fail | 27.9 |
| White text on teal-700 | 5.36:1 | Pass | Pass | Fail | Pass | −81.5 |
| Teal-700 text on white | 5.36:1 | Pass | Pass | Fail | Pass | 76.1 |
| Teal-700 text on black | 3.91:1 | Fail | Pass | Fail | Fail | −25.6 |
Tints and shades
Each step mixes var(--color-teal-700) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-teal-700), white 25%) in CSS.
Tints (mixed with white)
- 5%
#0d7f76 - 15%
#268c85 - 25%
#409a93 - 35%
#59a7a1 - 45%
#73b5b0 - 55%
#8cc2be - 65%
#a6d0cd - 75%
#bfdddb - 85%
#d9ebe9 - 95%
#f2f8f8
Shades (mixed with black)
- 5%
#007269 - 15%
#00665e - 25%
#005a53 - 35%
#004e48 - 45%
#00423d - 55%
#003632 - 65%
#002a27 - 75%
#001e1c - 85%
#001211 - 95%
#000606
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, teal-700's complementary color is #944D5D (close to sienna), its analogous colors are #2F774F and #00738A, and its triadic partners are #745792 and #8B5A21. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #944d5d |
| Analogous | −30°, +30° | #2f774f#00738a |
| Triadic | +120°, +240° | #745792#8b5a21 |
| Split-complementary | +150°, +210° | #89507b#95513e |
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-700 is a cool color: its hue is 176° 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.
Code snippets
<div class="bg-teal-700 text-white">...</div>
<p class="text-teal-700 border-teal-700">...</p>.element {
color: var(--color-teal-700);
background-color: oklch(51.1% 0.096 186.391);
border-color: #00786f;
outline-color: rgb(0 120 111);
}import SwiftUI
extension Color {
static let teal700 = Color(red: 0.000, green: 0.471, blue: 0.435)
}import androidx.compose.ui.graphics.Color
val Teal700 = Color(0xFF00786F)import 'package:flutter/material.dart';
const teal700 = Color(0xFF00786F);<!-- res/values/colors.xml -->
<color name="teal_700">#00786F</color>Frequently asked questions
- What is the hex code for Tailwind teal-700?
- In Tailwind CSS v4, teal-700 is oklch(51.1% 0.096 186.391), which converts to #00786F (rgb(0, 120, 111)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #0F766E.
- What is the difference between teal-700 in Tailwind v3 and v4?
- v3 used the hex #0F766E; v4 redefined the palette in OKLCH as oklch(51.1% 0.096 186.391). In v3, teal-700 was #0F766E. The v4 value is ΔE OK 1.0 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use teal-700 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-teal-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on teal-700?
- White text on teal-700 has a contrast ratio of 5.36:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.91:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −81.5 for white and Lc 27.9 for black.
- Which CSS named color is closest to teal-700?
- The closest is teal (#008080) at ΔE OK 3.5, followed by darkcyan and seagreen.
Last reviewed by Arielton Oberek.