#2B9787#2B9787

#2B9787 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.3% C 0.098 H 180.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B9787
RGBrgb(43, 151, 135)
HSLhsl(171, 56%, 38%)
HSVhsv(171, 72%, 59%)
CMYKcmyk(71.5%, 0%, 10.6%, 40.8%)
CIE-LABlab(56.48, -33.86, -0.31)
CIE-LCHlch(56.48, 33.87, 180.52°)
OKLaboklab(61.25% -0.0983 -0.0014)
OKLCHoklch(61.25% 0.098 180.8)
XYZxyz(16.4339, 24.3942, 26.7594)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9787 #972B3B
analogous
#2B9751 #2B9787 #2B7197
triadic
#2B9787 #872B97 #97872B
tetradic
#2B9787 #512B97 #972B3B #71972B
square
#2B9787 #512B97 #972B3B #71972B
split-complementary
#2B9787 #972B71 #97512B
monochromatic
#103832 #1D675C #2B9787 #39C7B2 #68D4C4

Accessibility & contrast

On white

3.57
#2B9787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#2B9787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9787
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9787#FFFFFF#000000##000000
##2B97871.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E86
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#009A92
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2b9787;
/* rgb */ color: rgb(43, 151, 135);
/* oklch */ color: oklch(61.3% 0.098 180.8);
Tailwind
colors: {
  custom: {
    50: '#75b6a9',
    500: '#2b9787',
    950: '#000000',
  },
}
SCSS
$custom: #2b9787;
$custom-light: #75b6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9787",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 135
  },
  "hsl": {
    "h": 171.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.0983,
    "h": 180.8
  },
  "luminance": 0.24396
}

Semantic roles & 50–950 ramp

primary
#2B9787
secondary
#BB6370
accent
#495FDF
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #2B9787

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

Preview Lab → · Contrast checker → · Palette generator →

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