#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
RGBrgb(47, 135, 94)
HSLhsl(152, 48%, 36%)
HSVhsv(152, 65%, 53%)
CMYKcmyk(65.2%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.38, -36.30, 14.52)
CIE-LCHlch(50.38, 39.10, 158.19°)
OKLaboklab(55.96% -0.0991 0.0369)
OKLCHoklch(55.96% 0.106 159.6)
XYZxyz(11.8555, 18.7392, 13.5797)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

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
##2F875E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.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

Preview Lab

Preview with #2F875E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F875E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva