#2A8780#2A8780

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

Color values

HEX#2A8780
RGBrgb(42, 135, 128)
HSLhsl(175, 53%, 35%)
HSVhsv(175, 69%, 53%)
CMYKcmyk(68.9%, 0%, 5.2%, 47.1%)
CIE-LABlab(51.13, -28.37, -4.14)
CIE-LCHlch(51.13, 28.67, 188.31°)
OKLaboklab(56.82% -0.0849 -0.0117)
OKLCHoklch(56.82% 0.086 187.8)
XYZxyz(13.5133, 19.3772, 23.4459)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8780 #872A31
analogous
#2A8752 #2A8780 #2A6087
triadic
#2A8780 #802A87 #87802A
tetradic
#2A8780 #522A87 #872A31 #60872A
square
#2A8780 #522A87 #872A31 #60872A
split-complementary
#2A8780 #872A60 #87522A
monochromatic
#0D2A27 #1B5854 #2A8780 #39B6AC #5ECDC5

Accessibility & contrast

On white

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

On black

4.88
#2A8780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8780
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8780#FFFFFF#000000##000000
##2A87801.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#808080
Deuteranopia (green-blind)
#727681
Tritanopia (blue-blind)
#008A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8780;
/* rgb */ color: rgb(42, 135, 128);
/* oklch */ color: oklch(56.8% 0.086 187.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa4',
    500: '#2a8780',
    950: '#000000',
  },
}
SCSS
$custom: #2a8780;
$custom-light: #71aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8780",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 128
  },
  "hsl": {
    "h": 175.484,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.08571,
    "h": 187.8
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#2A8780
secondary
#B35A61
accent
#4C57DC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2A8780

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

Preview Lab → · Contrast checker → · Palette generator →

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