Skip to content

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.

teal-700#00786F

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

Color codes for teal-700
Tailwind v4 token--color-teal-700
OKLCH (source value)oklch(51.1% 0.096 186.391)
HEX#00786F
RGBrgb(0, 120, 111)
HSLhsl(176, 100%, 24%)
HWBhwb(176 0% 53%)
CMYK (naive, no ICC profile)cmyk(100%, 0%, 7%, 53%)
Decimal30,831
Display P3color(display-p3 0.1741 0.4613 0.4339)
Tailwind v3 hex#0F766E
Utility classesbg-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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on teal-7003.91:1FailPassFailFail27.9
White text on teal-7005.36:1PassPassFailPass−81.5
Teal-700 text on white5.36:1PassPassFailPass76.1
Teal-700 text on black3.91:1FailPassFailFail−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)

  1. 5%
    #0d7f76
  2. 15%
    #268c85
  3. 25%
    #409a93
  4. 35%
    #59a7a1
  5. 45%
    #73b5b0
  6. 55%
    #8cc2be
  7. 65%
    #a6d0cd
  8. 75%
    #bfdddb
  9. 85%
    #d9ebe9
  10. 95%
    #f2f8f8

Shades (mixed with black)

  1. 5%
    #007269
  2. 15%
    #00665e
  3. 25%
    #005a53
  4. 35%
    #004e48
  5. 45%
    #00423d
  6. 55%
    #003632
  7. 65%
    #002a27
  8. 75%
    #001e1c
  9. 85%
    #001211
  10. 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.

Color harmonies
HarmonyRotationColor
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.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
teal#0080803.5
darkcyan#008b8b6.7
seagreen#2e8b578.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
emerald-700#007a554.4
cyan-700#0075956.5
teal-800#005f5a7.6

Code snippets

Tailwind CSS
<div class="bg-teal-700 text-white">...</div>
<p class="text-teal-700 border-teal-700">...</p>
CSS
.element {
  color: var(--color-teal-700);
  background-color: oklch(51.1% 0.096 186.391);
  border-color: #00786f;
  outline-color: rgb(0 120 111);
}
SwiftUI
import SwiftUI

extension Color {
  static let teal700 = Color(red: 0.000, green: 0.471, blue: 0.435)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const teal700 = Color(0xFF00786F);
Android XML
<!-- 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.