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.
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.
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.
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.
- 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.
.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
/* 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.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #0F766E · #90505E | 47.1 | Stays distinct |
| Protanopia | #6F6F6E · #5B5C5E | 7.4 | Harder to tell apart |
| Deuteranopia | #62656F · #6B685D | 11.8 | Stays distinct |
| Tritanopia | #007973 · #9A4A55 | 49.1 | Stays distinct |
| Achromatopsia | #696969 · #636363 | 2.3 | Easily 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
Analogous
Open in Harmony Studio- Base#0F766E
- +120°#73598D
- +240°#875C2B
Triadic
Open in Harmony Studio- Base#0F766E
- +150°#855379
- +210°#915443
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-teal-700: #0f766e;
}
// tailwind.config.js — already built in as teal-700;
// pin the v3 value explicitly like this:
module.exports = {
theme: {
extend: {
colors: {
teal: { 700: '#0f766e' },
},
},
},
};
/* 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);
}
{
"color": {
"teal-700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.0588, 0.4627, 0.4314],
"hex": "#0f766e"
},
"$description": "Tailwind CSS v3 teal-700"
}
}
}
import SwiftUI
enum Palette {
static let teal700 = Color(.sRGB, red: 0.059, green: 0.463, blue: 0.431, opacity: 1)
}
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.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.