#2B877A#2B877A
#2B877A is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.087 H 181.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2B877A |
|---|---|
| RGB | rgb(43, 135, 122) |
| HSL | hsl(172, 52%, 35%) |
| HSV | hsv(172, 68%, 53%) |
| CMYK | cmyk(68.1%, 0%, 9.6%, 47.1%) |
| CIE-LAB | lab(50.97, -29.93, -0.86) |
| CIE-LCH | lch(50.97, 29.95, 181.65°) |
| OKLab | oklab(56.64% -0.0873 -0.0028) |
| OKLCH | oklch(56.64% 0.087 181.8) |
| XYZ | xyz(13.1714, 19.2452, 21.4291) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 4.15
Teal (survey)
#029386
ΔE00 4.43
Dusty Teal
#4C9085
ΔE00 4.91
Darkcyan
#008B8B
ΔE00 5.64
Teal
#008080
ΔE00 5.98
Dark Cyan
#0A888A
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B877A #872B38
analogous
#2B874C #2B877A #2B6687
triadic
#2B877A #7A2B87 #877A2B
tetradic
#2B877A #4C2B87 #872B38 #66872B
square
#2B877A #4C2B87 #872B38 #66872B
split-complementary
#2B877A #872B66 #874C2B
monochromatic
#0D2A26 #1C5950 #2B877A #3AB5A4 #60CCBD
Accessibility & contrast
On white
4.33
#2B877A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2B877A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B877A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B877A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B877A | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2b877a; /* rgb */ color: rgb(43, 135, 122); /* oklch */ color: oklch(56.6% 0.087 181.8);
Tailwind
colors: {
custom: {
50: '#71aaa0',
500: '#2b877a',
950: '#000000',
},
}SCSS
$custom: #2b877a; $custom-light: #71aaa0; $custom-dark: #000000;
JSON
{
"hex": "#2b877a",
"rgb": {
"r": 43,
"g": 135,
"b": 122
},
"hsl": {
"h": 171.522,
"s": 51.685,
"l": 34.902
},
"oklch": {
"l": 0.56644,
"c": 0.08736,
"h": 181.8
},
"luminance": 0.19247
}Semantic roles & 50–950 ramp
primary
#2B877A
secondary
#B25B68
accent
#4D61DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E