#2F877A#2F877A
#2F877A is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.8% C 0.085 H 181.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F877A |
|---|---|
| RGB | rgb(47, 135, 122) |
| HSL | hsl(171, 48%, 36%) |
| HSV | hsv(171, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 9.6%, 47.1%) |
| CIE-LAB | lab(51.08, -29.24, -0.70) |
| CIE-LCH | lch(51.08, 29.25, 181.37°) |
| OKLab | oklab(56.76% -0.0853 -0.0024) |
| OKLCH | oklch(56.76% 0.085 181.6) |
| XYZ | xyz(13.3475, 19.3360, 21.4374) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 4.26
Teal (survey)
#029386
ΔE00 4.55
Dusty Teal
#4C9085
ΔE00 4.67
Darkcyan
#008B8B
ΔE00 5.72
Teal
#008080
ΔE00 6.08
Dark Cyan
#0A888A
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F877A #872F3C
analogous
#2F874E #2F877A #2F6887
triadic
#2F877A #7A2F87 #877A2F
tetradic
#2F877A #4E2F87 #872F3C #68872F
square
#2F877A #4E2F87 #872F3C #68872F
split-complementary
#2F877A #872F68 #874E2F
monochromatic
#0F2C28 #1F5A51 #2F877A #3FB4A3 #66CABB
Accessibility & contrast
On white
4.31
#2F877A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2F877A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F877A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F877A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F877A | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#74767B
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f877a; /* rgb */ color: rgb(47, 135, 122); /* oklch */ color: oklch(56.8% 0.085 181.6);
Tailwind
colors: {
custom: {
50: '#73aaa0',
500: '#2f877a',
950: '#000000',
},
}SCSS
$custom: #2f877a; $custom-light: #73aaa0; $custom-dark: #000000;
JSON
{
"hex": "#2f877a",
"rgb": {
"r": 47,
"g": 135,
"b": 122
},
"hsl": {
"h": 171.136,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.5676,
"c": 0.08528,
"h": 181.6
},
"luminance": 0.19337
}Semantic roles & 50–950 ramp
primary
#2F877A
secondary
#B1616D
accent
#5064D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E