#2F877E#2F877E

#2F877E is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.9% C 0.084 H 185.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F877E
RGBrgb(47, 135, 126)
HSLhsl(174, 48%, 36%)
HSVhsv(174, 65%, 53%)
CMYKcmyk(65.2%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.19, -28.11, -2.86)
CIE-LCHlch(51.19, 28.26, 185.81°)
OKLaboklab(56.89% -0.0833 -0.0082)
OKLCHoklch(56.89% 0.084 185.6)
XYZxyz(13.6004, 19.4372, 22.7696)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F877E #872F38
analogous
#2F8752 #2F877E #2F6487
triadic
#2F877E #7E2F87 #877E2F
tetradic
#2F877E #522F87 #872F38 #64872F
square
#2F877E #522F87 #872F38 #64872F
split-complementary
#2F877E #872F64 #87522F
monochromatic
#0F2C29 #1F5A54 #2F877E #3FB4A8 #66CAC0

Accessibility & contrast

On white

4.30
#2F877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F877E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F877E#FFFFFF#000000##000000
##2F877E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807E
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f877e;
/* rgb */ color: rgb(47, 135, 126);
/* oklch */ color: oklch(56.9% 0.084 185.6);
Tailwind
colors: {
  custom: {
    50: '#73aaa3',
    500: '#2f877e',
    950: '#000000',
  },
}
SCSS
$custom: #2f877e;
$custom-light: #73aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f877e",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 173.864,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.08373,
    "h": 185.6
  },
  "luminance": 0.19439
}

Semantic roles & 50–950 ramp

primary
#2F877E
secondary
#B16169
accent
#505ED8
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2F877E

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

Preview Lab → · Contrast checker → · Palette generator →

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