#2B8872#2B8872

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

Color values

HEX#2B8872
RGBrgb(43, 136, 114)
HSLhsl(166, 52%, 35%)
HSVhsv(166, 68%, 53%)
CMYKcmyk(68.4%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.08, -32.60, 3.94)
CIE-LCHlch(51.08, 32.84, 173.10°)
OKLaboklab(56.66% -0.0923 0.0099)
OKLCHoklch(56.66% 0.093 173.9)
XYZxyz(12.8362, 19.3354, 18.9719)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8872 #882B41
analogous
#2B8843 #2B8872 #2B7088
triadic
#2B8872 #722B88 #88722B
tetradic
#2B8872 #432B88 #882B41 #70882B
square
#2B8872 #432B88 #882B41 #70882B
split-complementary
#2B8872 #882B70 #88432B
monochromatic
#0E2B24 #1C5A4B #2B8872 #3AB699 #61CDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8872#FFFFFF#000000##000000
##2B88721.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)
#837F71
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b8872;
/* rgb */ color: rgb(43, 136, 114);
/* oklch */ color: oklch(56.7% 0.093 173.9);
Tailwind
colors: {
  custom: {
    50: '#71ab9a',
    500: '#2b8872',
    950: '#000000',
  },
}
SCSS
$custom: #2b8872;
$custom-light: #71ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8872",
  "rgb": {
    "r": 43,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 165.806,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.09287,
    "h": 173.9
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#2B8872
secondary
#B35C70
accent
#4C6EDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2B8872

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

Preview Lab → · Contrast checker → · Palette generator →

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