#2B877E#2B877E

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

Color values

HEX#2B877E
RGBrgb(43, 135, 126)
HSLhsl(174, 52%, 35%)
HSVhsv(174, 68%, 53%)
CMYKcmyk(68.1%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.09, -28.79, -3.03)
CIE-LCHlch(51.09, 28.95, 186.00°)
OKLaboklab(56.78% -0.0854 -0.0086)
OKLCHoklch(56.78% 0.086 185.8)
XYZxyz(13.4244, 19.3464, 22.7614)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877E #872B34
analogous
#2B8750 #2B877E #2B6287
triadic
#2B877E #7E2B87 #877E2B
tetradic
#2B877E #502B87 #872B34 #62872B
square
#2B877E #502B87 #872B34 #62872B
split-complementary
#2B877E #872B62 #87502B
monochromatic
#0D2A27 #1C5953 #2B877E #3AB5A9 #60CCC2

Accessibility & contrast

On white

4.31
#2B877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2B877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B877E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B877E#FFFFFF#000000##000000
##2B877E1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#72767F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b877e;
/* rgb */ color: rgb(43, 135, 126);
/* oklch */ color: oklch(56.8% 0.086 185.8);
Tailwind
colors: {
  custom: {
    50: '#72aaa3',
    500: '#2b877e',
    950: '#000000',
  },
}
SCSS
$custom: #2b877e;
$custom-light: #72aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877e",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.08582,
    "h": 185.8
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#2B877E
secondary
#B25B64
accent
#4D5BDB
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2B877E

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

Preview Lab → · Contrast checker → · Palette generator →

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