#2C8878#2C8878

#2C8878 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.089 H 179.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C8878
RGBrgb(44, 136, 120)
HSLhsl(170, 51%, 35%)
HSVhsv(170, 68%, 53%)
CMYKcmyk(67.6%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.27, -30.80, 0.73)
CIE-LCHlch(51.27, 30.81, 178.64°)
OKLaboklab(56.87% -0.0889 0.0014)
OKLCHoklch(56.87% 0.089 179.1)
XYZxyz(13.2314, 19.4984, 20.8319)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8878 #882C3C
analogous
#2C884A #2C8878 #2C6A88
triadic
#2C8878 #782C88 #88782C
tetradic
#2C8878 #4A2C88 #882C3C #6A882C
square
#2C8878 #4A2C88 #882C3C #6A882C
split-complementary
#2C8878 #882C6A #884A2C
monochromatic
#0E2C26 #1D5A4F #2C8878 #3BB6A1 #62CCBA

Accessibility & contrast

On white

4.29
#2C8878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2C8878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8878
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8878#FFFFFF#000000##000000
##2C88781.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#828077
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8878;
/* rgb */ color: rgb(44, 136, 120);
/* oklch */ color: oklch(56.9% 0.089 179.1);
Tailwind
colors: {
  custom: {
    50: '#72ab9e',
    500: '#2c8878',
    950: '#000000',
  },
}
SCSS
$custom: #2c8878;
$custom-light: #72ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8878",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 169.565,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56871,
    "c": 0.0889,
    "h": 179.1
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#2C8878
secondary
#B35D6C
accent
#4D66DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2C8878

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

Preview Lab → · Contrast checker → · Palette generator →

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