#2F877B#2F877B

#2F877B is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.085 H 182.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F877B
RGBrgb(47, 135, 123)
HSLhsl(172, 48%, 36%)
HSVhsv(172, 65%, 53%)
CMYKcmyk(65.2%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.11, -28.96, -1.24)
CIE-LCHlch(51.11, 28.99, 182.45°)
OKLaboklab(56.79% -0.0848 -0.0038)
OKLCHoklch(56.79% 0.085 182.6)
XYZxyz(13.4098, 19.3609, 21.7654)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F877B #872F3B
analogous
#2F874F #2F877B #2F6787
triadic
#2F877B #7B2F87 #877B2F
tetradic
#2F877B #4F2F87 #872F3B #67872F
square
#2F877B #4F2F87 #872F3B #67872F
split-complementary
#2F877B #872F67 #874F2F
monochromatic
#0F2C28 #1F5A52 #2F877B #3FB4A4 #66CABC

Accessibility & contrast

On white

4.31
#2F877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F877B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F877B#FFFFFF#000000##000000
##2F877B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7B
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f877b;
/* rgb */ color: rgb(47, 135, 123);
/* oklch */ color: oklch(56.8% 0.085 182.6);
Tailwind
colors: {
  custom: {
    50: '#73aaa1',
    500: '#2f877b',
    950: '#000000',
  },
}
SCSS
$custom: #2f877b;
$custom-light: #73aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f877b",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 171.818,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.08486,
    "h": 182.6
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#2F877B
secondary
#B1616C
accent
#5062D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F877B

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

Preview Lab → · Contrast checker → · Palette generator →

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