#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
RGBrgb(47, 135, 111)
HSLhsl(164, 48%, 36%)
HSVhsv(164, 65%, 53%)
CMYKcmyk(65.2%, 0%, 17.8%, 47.1%)
CIE-LABlab(50.78, -32.20, 5.27)
CIE-LCHlch(50.78, 32.62, 170.70°)
OKLaboklab(56.42% -0.0906 0.0134)
OKLCHoklch(56.42% 0.092 171.6)
XYZxyz(12.7041, 19.0786, 18.0489)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

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
##2F876F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.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

Preview Lab

Preview with #2F876F

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

Preview Lab → · Contrast checker → · Palette generator →

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