#2F876E#2F876E

#2F876E is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.092 H 170.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F876E
RGBrgb(47, 135, 110)
HSLhsl(163, 48%, 36%)
HSVhsv(163, 65%, 53%)
CMYKcmyk(65.2%, 0%, 18.5%, 47.1%)
CIE-LABlab(50.75, -32.45, 5.82)
CIE-LCHlch(50.75, 32.97, 169.84°)
OKLaboklab(56.39% -0.0911 0.0148)
OKLCHoklch(56.39% 0.092 170.8)
XYZxyz(12.6493, 19.0567, 17.7605)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F876E #872F48
analogous
#2F8742 #2F876E #2F7487
triadic
#2F876E #6E2F87 #876E2F
tetradic
#2F876E #422F87 #872F48 #74872F
square
#2F876E #422F87 #872F48 #74872F
split-complementary
#2F876E #872F74 #87422F
monochromatic
#0F2C24 #1F5A49 #2F876E #3FB493 #66CAAE

Accessibility & contrast

On white

4.36
#2F876E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F876E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F876E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F876E#FFFFFF#000000##000000
##2F876E1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6D
Deuteranopia (green-blind)
#777570
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f876e;
/* rgb */ color: rgb(47, 135, 110);
/* oklch */ color: oklch(56.4% 0.092 170.8);
Tailwind
colors: {
  custom: {
    50: '#72aa97',
    500: '#2f876e',
    950: '#000000',
  },
}
SCSS
$custom: #2f876e;
$custom-light: #72aa97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f876e",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 110
  },
  "hsl": {
    "h": 162.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.09234,
    "h": 170.8
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#2F876E
secondary
#B16178
accent
#5077D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #2F876E

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

Preview Lab → · Contrast checker → · Palette generator →

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