#2A8878#2A8878

#2A8878 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.8% C 0.090 H 179.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A8878
RGBrgb(42, 136, 120)
HSLhsl(170, 53%, 35%)
HSVhsv(170, 69%, 53%)
CMYKcmyk(69.1%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.22, -31.14, 0.65)
CIE-LCHlch(51.22, 31.14, 178.80°)
OKLaboklab(56.82% -0.0899 0.0012)
OKLCHoklch(56.82% 0.09 179.2)
XYZxyz(13.1475, 19.4551, 20.8280)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8878 #882A3A
analogous
#2A8849 #2A8878 #2A6988
triadic
#2A8878 #782A88 #88782A
tetradic
#2A8878 #492A88 #882A3A #69882A
square
#2A8878 #492A88 #882A3A #69882A
split-complementary
#2A8878 #882A69 #88492A
monochromatic
#0D2A25 #1C594F #2A8878 #38B7A1 #5FCEBB

Accessibility & contrast

On white

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

On black

4.89
#2A8878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8878
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8878#FFFFFF#000000##000000
##2A88781.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.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: #2a8878;
/* rgb */ color: rgb(42, 136, 120);
/* oklch */ color: oklch(56.8% 0.090 179.2);
Tailwind
colors: {
  custom: {
    50: '#71ab9e',
    500: '#2a8878',
    950: '#000000',
  },
}
SCSS
$custom: #2a8878;
$custom-light: #71ab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8878",
  "rgb": {
    "r": 42,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 169.787,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.08988,
    "h": 179.2
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#2A8878
secondary
#B35B6A
accent
#4C64DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2A8878

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

Preview Lab → · Contrast checker → · Palette generator →

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