#2B876F#2B876F

#2B876F is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.3% C 0.094 H 172.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B876F
RGBrgb(43, 135, 111)
HSLhsl(164, 52%, 35%)
HSVhsv(164, 68%, 53%)
CMYKcmyk(68.1%, 0%, 17.8%, 47.1%)
CIE-LABlab(50.67, -32.92, 5.11)
CIE-LCHlch(50.67, 33.32, 171.19°)
OKLaboklab(56.3% -0.0927 0.013)
OKLCHoklch(56.3% 0.094 172)
XYZxyz(12.5280, 18.9879, 18.0406)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B876F #872B43
analogous
#2B8741 #2B876F #2B7187
triadic
#2B876F #6F2B87 #876F2B
tetradic
#2B876F #412B87 #872B43 #71872B
square
#2B876F #412B87 #872B43 #71872B
split-complementary
#2B876F #872B71 #87412B
monochromatic
#0D2A23 #1C5949 #2B876F #3AB595 #60CCB0

Accessibility & contrast

On white

4.38
#2B876F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2B876F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B876F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B876F#FFFFFF#000000##000000
##2B876F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6E
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b876f;
/* rgb */ color: rgb(43, 135, 111);
/* oklch */ color: oklch(56.3% 0.094 172.0);
Tailwind
colors: {
  custom: {
    50: '#71aa98',
    500: '#2b876f',
    950: '#000000',
  },
}
SCSS
$custom: #2b876f;
$custom-light: #71aa98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b876f",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 111
  },
  "hsl": {
    "h": 164.348,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.563,
    "c": 0.09363,
    "h": 172
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#2B876F
secondary
#B25B72
accent
#4D72DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #2B876F

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

Preview Lab → · Contrast checker → · Palette generator →

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