#2F877F#2F877F
#2F877F is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.083 H 186.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F877F |
|---|---|
| RGB | rgb(47, 135, 127) |
| HSL | hsl(175, 48%, 36%) |
| HSV | hsv(175, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 5.9%, 47.1%) |
| CIE-LAB | lab(51.22, -27.82, -3.40) |
| CIE-LCH | lch(51.22, 28.03, 186.96°) |
| OKLab | oklab(56.93% -0.0828 -0.0096) |
| OKLCH | oklch(56.93% 0.083 186.6) |
| XYZ | xyz(13.6653, 19.4631, 23.1111) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Greenish Blue
#0B8B87
ΔE00 2.71
Darkcyan
#008B8B
ΔE00 3.90
Dark Cyan
#0A888A
ΔE00 4.29
Teal
#008080
ΔE00 4.53
Dusty Teal
#4C9085
ΔE00 4.57
Teal (survey)
#029386
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F877F #872F37
analogous
#2F8753 #2F877F #2F6387
triadic
#2F877F #7F2F87 #877F2F
tetradic
#2F877F #532F87 #872F37 #63872F
square
#2F877F #532F87 #872F37 #63872F
split-complementary
#2F877F #872F63 #87532F
monochromatic
#0F2C2A #1F5A54 #2F877F #3FB4AA #66CAC1
Accessibility & contrast
On white
4.29
#2F877F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#2F877F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F877F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F877F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F877F | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f877f; /* rgb */ color: rgb(47, 135, 127); /* oklch */ color: oklch(56.9% 0.083 186.6);
Tailwind
colors: {
custom: {
50: '#73aaa4',
500: '#2f877f',
950: '#000000',
},
}SCSS
$custom: #2f877f; $custom-light: #73aaa4; $custom-dark: #000000;
JSON
{
"hex": "#2f877f",
"rgb": {
"r": 47,
"g": 135,
"b": 127
},
"hsl": {
"h": 174.545,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56927,
"c": 0.08341,
"h": 186.6
},
"luminance": 0.19465
}Semantic roles & 50–950 ramp
primary
#2F877F
secondary
#B16168
accent
#505CD8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F