#2B877F#2B877F

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

Color values

HEX#2B877F
RGBrgb(43, 135, 127)
HSLhsl(175, 52%, 35%)
HSVhsv(175, 68%, 53%)
CMYKcmyk(68.1%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.12, -28.50, -3.56)
CIE-LCHlch(51.12, 28.73, 187.13°)
OKLaboklab(56.81% -0.0849 -0.0101)
OKLCHoklch(56.81% 0.086 186.8)
XYZxyz(13.4892, 19.3723, 23.1029)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877F #872B33
analogous
#2B8751 #2B877F #2B6187
triadic
#2B877F #7F2B87 #877F2B
tetradic
#2B877F #512B87 #872B33 #61872B
square
#2B877F #512B87 #872B33 #61872B
split-complementary
#2B877F #872B61 #87512B
monochromatic
#0D2A28 #1C5953 #2B877F #3AB5AB #60CCC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B877F#FFFFFF#000000##000000
##2B877F1.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)
#80807F
Deuteranopia (green-blind)
#727680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b877f;
/* rgb */ color: rgb(43, 135, 127);
/* oklch */ color: oklch(56.8% 0.086 186.8);
Tailwind
colors: {
  custom: {
    50: '#72aaa4',
    500: '#2b877f',
    950: '#000000',
  },
}
SCSS
$custom: #2b877f;
$custom-light: #72aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877f",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.783,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.0855,
    "h": 186.8
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#2B877F
secondary
#B25B63
accent
#4D59DB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2B877F

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

Preview Lab → · Contrast checker → · Palette generator →

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