#2F877B#2F877B
#2F877B is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 182.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F877B |
|---|---|
| RGB | rgb(47, 135, 123) |
| HSL | hsl(172, 48%, 36%) |
| HSV | hsv(172, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 8.9%, 47.1%) |
| CIE-LAB | lab(51.11, -28.96, -1.24) |
| CIE-LCH | lch(51.11, 28.99, 182.45°) |
| OKLab | oklab(56.79% -0.0848 -0.0038) |
| OKLCH | oklch(56.79% 0.085 182.6) |
| XYZ | xyz(13.4098, 19.3609, 21.7654) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 3.92
Teal (survey)
#029386
ΔE00 4.52
Dusty Teal
#4C9085
ΔE00 4.59
Darkcyan
#008B8B
ΔE00 5.34
Teal
#008080
ΔE00 5.75
Dark Cyan
#0A888A
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F877B #872F3B
analogous
#2F874F #2F877B #2F6787
triadic
#2F877B #7B2F87 #877B2F
tetradic
#2F877B #4F2F87 #872F3B #67872F
square
#2F877B #4F2F87 #872F3B #67872F
split-complementary
#2F877B #872F67 #874F2F
monochromatic
#0F2C28 #1F5A52 #2F877B #3FB4A4 #66CABC
Accessibility & contrast
On white
4.31
#2F877B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#2F877B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F877B
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F877B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F877B | 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)
#817F7B
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f877b; /* rgb */ color: rgb(47, 135, 123); /* oklch */ color: oklch(56.8% 0.085 182.6);
Tailwind
colors: {
custom: {
50: '#73aaa1',
500: '#2f877b',
950: '#000000',
},
}SCSS
$custom: #2f877b; $custom-light: #73aaa1; $custom-dark: #000000;
JSON
{
"hex": "#2f877b",
"rgb": {
"r": 47,
"g": 135,
"b": 123
},
"hsl": {
"h": 171.818,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56792,
"c": 0.08486,
"h": 182.6
},
"luminance": 0.19362
}Semantic roles & 50–950 ramp
primary
#2F877B
secondary
#B1616C
accent
#5062D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E