#2F875E#2F875E
#2F875E is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.0% C 0.106 H 159.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F875E |
|---|---|
| RGB | rgb(47, 135, 94) |
| HSL | hsl(152, 48%, 36%) |
| HSV | hsv(152, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 30.4%, 47.1%) |
| CIE-LAB | lab(50.38, -36.30, 14.52) |
| CIE-LCH | lch(50.38, 39.10, 158.19°) |
| OKLab | oklab(55.96% -0.0991 0.0369) |
| OKLCH | oklch(55.96% 0.106 159.6) |
| XYZ | xyz(11.8555, 18.7392, 13.5797) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Dark Sea Green
#11875D
ΔE00 1.90
Sea Green
#2E8B57
ΔE00 2.96
Viridian
#1E9167
ΔE00 3.71
Jungle Green
#048243
ΔE00 6.06
Ocean Green
#3D9973
ΔE00 6.63
Dark Sage
#598556
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F875E #872F58
analogous
#2F8732 #2F875E #2F8487
triadic
#2F875E #5E2F87 #875E2F
tetradic
#2F875E #322F87 #872F58 #84872F
square
#2F875E #322F87 #872F58 #84872F
split-complementary
#2F875E #872F84 #87322F
monochromatic
#0F2C1F #1F5A3E #2F875E #3FB47E #66CA9C
Accessibility & contrast
On white
4.42
#2F875E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2F875E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F875E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F875E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F875E | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857D5C
Deuteranopia (green-blind)
#7A7461
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f875e; /* rgb */ color: rgb(47, 135, 94); /* oklch */ color: oklch(56.0% 0.106 159.6);
Tailwind
colors: {
custom: {
50: '#72ab8b',
500: '#2f875e',
950: '#000000',
},
}SCSS
$custom: #2f875e; $custom-light: #72ab8b; $custom-dark: #000000;
JSON
{
"hex": "#2f875e",
"rgb": {
"r": 47,
"g": 135,
"b": 94
},
"hsl": {
"h": 152.045,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.5596,
"c": 0.10578,
"h": 159.6
},
"luminance": 0.1874
}Semantic roles & 50–950 ramp
primary
#2F875E
secondary
#B16186
accent
#508FD8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D