#2F875B#2F875B

#2F875B is a mid, moderate teal. Relative luminance 0.187; OKLCH L 55.9% C 0.109 H 157.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F875B
RGBrgb(47, 135, 91)
HSLhsl(150, 48%, 36%)
HSVhsv(150, 65%, 53%)
CMYKcmyk(65.2%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.32, -36.96, 16.15)
CIE-LCHlch(50.32, 40.34, 156.40°)
OKLaboklab(55.89% -0.1006 0.0409)
OKLCHoklch(55.89% 0.109 157.9)
XYZxyz(11.7235, 18.6864, 12.8845)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F875B #872F5B
analogous
#2F872F #2F875B #2F8787
triadic
#2F875B #5B2F87 #875B2F
tetradic
#2F875B #2F2F87 #872F5B #87872F
square
#2F875B #2F2F87 #872F5B #87872F
split-complementary
#2F875B #872F87 #872F2F
monochromatic
#0F2C1E #1F5A3C #2F875B #3FB47A #66CA98

Accessibility & contrast

On white

4.43
#2F875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F875B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F875B#FFFFFF#000000##000000
##2F875B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D58
Deuteranopia (green-blind)
#7A745E
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f875b;
/* rgb */ color: rgb(47, 135, 91);
/* oklch */ color: oklch(55.9% 0.109 157.9);
Tailwind
colors: {
  custom: {
    50: '#72ab89',
    500: '#2f875b',
    950: '#000000',
  },
}
SCSS
$custom: #2f875b;
$custom-light: #72ab89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f875b",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 150,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.10861,
    "h": 157.9
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#2F875B
secondary
#B16189
accent
#5094D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F875B

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

Preview Lab → · Contrast checker → · Palette generator →

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