#2B877D#2B877D

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

Color values

HEX#2B877D
RGBrgb(43, 135, 125)
HSLhsl(173, 52%, 35%)
HSVhsv(173, 68%, 53%)
CMYKcmyk(68.1%, 0%, 7.4%, 47.1%)
CIE-LABlab(51.06, -29.08, -2.49)
CIE-LCHlch(51.06, 29.19, 184.89°)
OKLaboklab(56.74% -0.0859 -0.0072)
OKLCHoklch(56.74% 0.086 184.8)
XYZxyz(13.3602, 19.3207, 22.4232)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877D #872B35
analogous
#2B874F #2B877D #2B6387
triadic
#2B877D #7D2B87 #877D2B
tetradic
#2B877D #4F2B87 #872B35 #63872B
square
#2B877D #4F2B87 #872B35 #63872B
split-complementary
#2B877D #872B63 #874F2B
monochromatic
#0D2A27 #1C5952 #2B877D #3AB5A8 #60CCC1

Accessibility & contrast

On white

4.32
#2B877D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2B877D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B877D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B877D#FFFFFF#000000##000000
##2B877D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7D
Deuteranopia (green-blind)
#73757E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b877d;
/* rgb */ color: rgb(43, 135, 125);
/* oklch */ color: oklch(56.7% 0.086 184.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa2',
    500: '#2b877d',
    950: '#000000',
  },
}
SCSS
$custom: #2b877d;
$custom-light: #71aaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877d",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 173.478,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.08616,
    "h": 184.8
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#2B877D
secondary
#B25B65
accent
#4D5CDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2B877D

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

Preview Lab → · Contrast checker → · Palette generator →

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