#2F876F#2F876F
#2F876F is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.092 H 171.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F876F |
|---|---|
| RGB | rgb(47, 135, 111) |
| HSL | hsl(164, 48%, 36%) |
| HSV | hsv(164, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 17.8%, 47.1%) |
| CIE-LAB | lab(50.78, -32.20, 5.27) |
| CIE-LCH | lch(50.78, 32.62, 170.70°) |
| OKLab | oklab(56.42% -0.0906 0.0134) |
| OKLCH | oklch(56.42% 0.092 171.6) |
| XYZ | xyz(12.7041, 19.0786, 18.0489) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.59
Viridian
#1E9167
ΔE00 5.97
Teal (survey)
#029386
ΔE00 6.54
Dusty Teal
#4C9085
ΔE00 6.85
Ocean Green
#3D9973
ΔE00 7.29
Sea Green
#2E8B57
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F876F #872F47
analogous
#2F8743 #2F876F #2F7387
triadic
#2F876F #6F2F87 #876F2F
tetradic
#2F876F #432F87 #872F47 #73872F
square
#2F876F #432F87 #872F47 #73872F
split-complementary
#2F876F #872F73 #87432F
monochromatic
#0F2C24 #1F5A4A #2F876F #3FB494 #66CAAF
Accessibility & contrast
On white
4.36
#2F876F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#2F876F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F876F
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F876F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F876F | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837E6E
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f876f; /* rgb */ color: rgb(47, 135, 111); /* oklch */ color: oklch(56.4% 0.092 171.6);
Tailwind
colors: {
custom: {
50: '#72aa98',
500: '#2f876f',
950: '#000000',
},
}SCSS
$custom: #2f876f; $custom-light: #72aa98; $custom-dark: #000000;
JSON
{
"hex": "#2f876f",
"rgb": {
"r": 47,
"g": 135,
"b": 111
},
"hsl": {
"h": 163.636,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.56417,
"c": 0.09164,
"h": 171.6
},
"luminance": 0.1908
}Semantic roles & 50–950 ramp
primary
#2F876F
secondary
#B16177
accent
#5075D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100D
muted
#7B7F7E