#2B877A#2B877A

#2B877A is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.087 H 181.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2B877A
RGBrgb(43, 135, 122)
HSLhsl(172, 52%, 35%)
HSVhsv(172, 68%, 53%)
CMYKcmyk(68.1%, 0%, 9.6%, 47.1%)
CIE-LABlab(50.97, -29.93, -0.86)
CIE-LCHlch(50.97, 29.95, 181.65°)
OKLaboklab(56.64% -0.0873 -0.0028)
OKLCHoklch(56.64% 0.087 181.8)
XYZxyz(13.1714, 19.2452, 21.4291)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877A #872B38
analogous
#2B874C #2B877A #2B6687
triadic
#2B877A #7A2B87 #877A2B
tetradic
#2B877A #4C2B87 #872B38 #66872B
square
#2B877A #4C2B87 #872B38 #66872B
split-complementary
#2B877A #872B66 #874C2B
monochromatic
#0D2A26 #1C5950 #2B877A #3AB5A4 #60CCBD

Accessibility & contrast

On white

4.33
#2B877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2B877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B877A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B877A#FFFFFF#000000##000000
##2B877A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b877a;
/* rgb */ color: rgb(43, 135, 122);
/* oklch */ color: oklch(56.6% 0.087 181.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa0',
    500: '#2b877a',
    950: '#000000',
  },
}
SCSS
$custom: #2b877a;
$custom-light: #71aaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877a",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 171.522,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.08736,
    "h": 181.8
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#2B877A
secondary
#B25B68
accent
#4D61DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2B877A

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

Preview Lab → · Contrast checker → · Palette generator →

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