#2F877D#2F877D
#2F877D is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.9% C 0.084 H 184.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F877D |
|---|---|
| RGB | rgb(47, 135, 125) |
| HSL | hsl(173, 48%, 36%) |
| HSV | hsv(173, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 7.4%, 47.1%) |
| CIE-LAB | lab(51.17, -28.40, -2.32) |
| CIE-LCH | lch(51.17, 28.49, 184.67°) |
| OKLab | oklab(56.86% -0.0838 -0.0067) |
| OKLCH | oklch(56.86% 0.084 184.6) |
| XYZ | xyz(13.5362, 19.4115, 22.4315) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.27
Dusty Teal
#4C9085
ΔE00 4.51
Teal (survey)
#029386
ΔE00 4.60
Darkcyan
#008B8B
ΔE00 4.60
Dark Cyan
#0A888A
ΔE00 5.07
Teal
#008080
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F877D #872F39
analogous
#2F8751 #2F877D #2F6587
triadic
#2F877D #7D2F87 #877D2F
tetradic
#2F877D #512F87 #872F39 #65872F
square
#2F877D #512F87 #872F39 #65872F
split-complementary
#2F877D #872F65 #87512F
monochromatic
#0F2C29 #1F5A53 #2F877D #3FB4A7 #66CABF
Accessibility & contrast
On white
4.30
#2F877D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2F877D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F877D
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F877D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F877D | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80807D
Deuteranopia (green-blind)
#73767E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f877d; /* rgb */ color: rgb(47, 135, 125); /* oklch */ color: oklch(56.9% 0.084 184.6);
Tailwind
colors: {
custom: {
50: '#73aaa2',
500: '#2f877d',
950: '#000000',
},
}SCSS
$custom: #2f877d; $custom-light: #73aaa2; $custom-dark: #000000;
JSON
{
"hex": "#2f877d",
"rgb": {
"r": 47,
"g": 135,
"b": 125
},
"hsl": {
"h": 173.182,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56859,
"c": 0.08408,
"h": 184.6
},
"luminance": 0.19413
}Semantic roles & 50–950 ramp
primary
#2F877D
secondary
#B1616A
accent
#505FD8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E