#2B877B#2B877B

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

Color values

HEX#2B877B
RGBrgb(43, 135, 123)
HSLhsl(172, 52%, 35%)
HSVhsv(172, 68%, 53%)
CMYKcmyk(68.1%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.00, -29.65, -1.41)
CIE-LCHlch(51.00, 29.68, 182.71°)
OKLaboklab(56.68% -0.0868 -0.0043)
OKLCHoklch(56.68% 0.087 182.8)
XYZxyz(13.2337, 19.2701, 21.7571)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877B #872B37
analogous
#2B874D #2B877B #2B6587
triadic
#2B877B #7B2B87 #877B2B
tetradic
#2B877B #4D2B87 #872B37 #65872B
square
#2B877B #4D2B87 #872B37 #65872B
split-complementary
#2B877B #872B65 #874D2B
monochromatic
#0D2A26 #1C5951 #2B877B #3AB5A5 #60CCBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B877B#FFFFFF#000000##000000
##2B877B1.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)
#817F7B
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b877b;
/* rgb */ color: rgb(43, 135, 123);
/* oklch */ color: oklch(56.7% 0.087 182.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa1',
    500: '#2b877b',
    950: '#000000',
  },
}
SCSS
$custom: #2b877b;
$custom-light: #71aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877b",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 172.174,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.08693,
    "h": 182.8
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#2B877B
secondary
#B25B67
accent
#4D5FDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2B877B

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

Preview Lab → · Contrast checker → · Palette generator →

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