Tailwind CSS v3 color

Tailwind teal-700 #0F766E

Tailwind CSS v3's teal-700 is #0F766E. It is a muted teal in the cyan family. In OKLCH it sits at lightness 0.511, chroma 0.086 and hue 186.4°. The nearest CSS named color is teal (#008080), ΔE2000 5.0 away.

Relative luminance
0.1418
OKLCH L · C · h
0.511 · 0.086 · 186.4
Best text
White 5.47:1
Hue family
Cyan

#0F766E color codes

HEX
#0F766E
RGB
rgb(15, 118, 110)
HSL
hsl(175, 77%, 26%)
OKLCH
oklch(0.511 0.086 186.4)
OKLab
oklab(0.511 -0.086 -0.010)
CIELAB (D65)
L* 44.49, a* -28.80, b* -3.37
XYZ (D65)
X 9.49, Y 14.18, Z 16.99
CMYK (naive)
cmyk(87%, 0%, 7%, 54%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #0F766E accessible?

White text on it reaches 5.47:1, passing AA. Black text manages only 3.83:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.83:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +27
  • White text on it

    5.47:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −82
  • As text on black

    3.83:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −24
  • As text on white

    5.47:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +76

Nearest versions that pass 4.5:1

  • For text on white

    #0F766E 5.47:1

    It already reaches 5.47:1 on white, so no change is needed.

  • For text on black

    #23827A 4.54:1

    Lightening its OKLCH lightness from 0.51 to 0.55 reaches 4.54:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #0F766E live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #0F766E

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #0F766E sits at step 600.

  1. 50#D6FFF9
    White
    1.07
    Black
    19.53
  2. 100#B5FBF2
    White
    1.16
    Black
    18.04
  3. 200#9DE8DF
    White
    1.39
    Black
    15.04
  4. 300#7ECFC6
    White
    1.80
    Black
    11.62
  5. 400#5DB3AA
    White
    2.47
    Black
    8.49
  6. 500#3D978E
    White
    3.49
    Black
    6.01
  7. 600This color#0F766E
    White
    5.47
    Black
    3.83
  8. 700#00665F
    White
    6.84
    Black
    3.06
  9. 800#004B45
    White
    10.03
    Black
    2.09
  10. 900#00312D
    White
    14.21
    Black
    1.47
  11. 950#001B19
    White
    17.93
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 teal scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#F0FDFA
    White
    1.04
    Black
    20.13
  2. 100#CCFBF1
    White
    1.12
    Black
    18.63
  3. 200#99F6E4
    White
    1.26
    Black
    16.65
  4. 300#5EEAD4
    White
    1.47
    Black
    14.19
  5. 400#2DD4BF
    White
    1.86
    Black
    11.28
  6. 500#14B8A6
    White
    2.48
    Black
    8.43
  7. 600#0D9488
    White
    3.74
    Black
    5.60
  8. 700This color#0F766E
    White
    5.47
    Black
    3.83
  9. 800#115E59
    White
    7.58
    Black
    2.76
  10. 900#134E4A
    White
    9.47
    Black
    2.21
  11. 950#042F2E
    White
    14.47
    Black
    1.45

Gamut

How vivid #0F766E can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.090; #0F766E uses 96% of it. Display P3, which many recent phones and laptops show, reaches 0.121 there: 35% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.086
sRGB edge
0.090
Display P3 edge
0.121
Rec. 2020 edge
0.194
Dominant wavelength
494 nm
Excitation purity
28%
Chromaticity
x 0.2334, y 0.3488
  • This color#0F766E
  • Most vivid in sRGB#00776E
  • Most vivid in Display P3oklch(0.511 0.121 186.4)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #0f766e;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.4745 0.4423); }
}

Mixing

Mixing #0F766E

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#87BBB7
  • OKLab50%#91B9B4
  • OKLCH50%#91B9B4

Black #000000

  • sRGB50%#083B37
  • OKLab50%#022926
  • OKLCH50%#022926

Its complement #90505E

  • sRGB50%#506366
  • OKLab50%#666666
  • OKLCH50%#756624
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #0f766e, white);
color: color-mix(in oklch, #0f766e 50%, white);

In use

#0F766E in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.47:1 Passes
  • Link and body-size textText, 4.5:15.47:1 Passes
  • Large headingLarge text, 3:15.47:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.47:1 Passes

Dark page

  • Button labelText, 4.5:15.47:1 Passes
  • Link and body-size textText, 4.5:13.42:1 Fails
  • Large headingLarge text, 3:13.42:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.42:1 Passes

For text on this page, the nearest shade that passes is #2F8B82 4.58:1

Color vision

How #0F766E looks with color blindness

Deuteranopia changes it most, ΔE2000 23.0; tritanopia changes it least, 1.4.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #6F6F6E ΔE2000 21.4

    Distinct

    Reads as gray

  • Deuteranopia

    No working green (medium-wavelength) cones

    #62656F ΔE2000 23.0

    Distinct

    Reads as gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #007973 ΔE2000 1.4

    Very close

    Reads as muted teal

  • Achromatopsia

    No cone color vision; lightness only

    #696969 ΔE2000 21.4

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #90505E. Their lightness contrast is only 1.09:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#0F766E · #90505E47.1Stays distinct
Protanopia#6F6F6E · #5B5C5E7.4Harder to tell apart
Deuteranopia#62656F · #6B685D11.8Stays distinct
Tritanopia#007973 · #9A4A5549.1Stays distinct
Achromatopsia#696969 · #6363632.3Easily confused

Harmony

Color harmonies for #0F766E

Its complement is #90505E, a muted pink, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#0F766E
  • Complement#90505E

Complementary

Open in Harmony Studio
  • −30°#377552
  • Base#0F766E
  • +30°#137286
  • Base#0F766E
  • +120°#73598D
  • +240°#875C2B
  • Base#0F766E
  • +150°#855379
  • +210°#915443

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-teal-700: #0f766e;
}

Tailwind config

// tailwind.config.js — already built in as teal-700;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        teal: { 700: '#0f766e' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own teal-700; this pins the v3 value. */
  --color-teal-700: oklch(0.511 0.086 186.4);
}

Design token (W3C DTCG)

{
  "color": {
    "teal-700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.0588, 0.4627, 0.4314],
        "hex": "#0f766e"
      },
      "$description": "Tailwind CSS v3 teal-700"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let teal700 = Color(.sRGB, red: 0.059, green: 0.463, blue: 0.431, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Teal700 = Color(0xFF0F766E)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #0F766E in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.