#2A8778#2A8778

#2A8778 is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.089 H 180.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8778
RGBrgb(42, 135, 120)
HSLhsl(170, 53%, 35%)
HSVhsv(170, 69%, 53%)
CMYKcmyk(68.9%, 0%, 11.1%, 47.1%)
CIE-LABlab(50.89, -30.66, 0.18)
CIE-LCHlch(50.89, 30.66, 179.67°)
OKLaboklab(56.55% -0.0888 0)
OKLCHoklch(56.55% 0.089 180)
XYZxyz(13.0074, 19.1748, 20.7812)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8778 #872A39
analogous
#2A874A #2A8778 #2A6787
triadic
#2A8778 #782A87 #87782A
tetradic
#2A8778 #4A2A87 #872A39 #67872A
square
#2A8778 #4A2A87 #872A39 #67872A
split-complementary
#2A8778 #872A67 #874A2A
monochromatic
#0D2A25 #1B584F #2A8778 #39B6A1 #5ECDBB

Accessibility & contrast

On white

4.34
#2A8778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A8778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8778
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8778#FFFFFF#000000##000000
##2A87781.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F77
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8778;
/* rgb */ color: rgb(42, 135, 120);
/* oklch */ color: oklch(56.6% 0.089 180.0);
Tailwind
colors: {
  custom: {
    50: '#71aa9e',
    500: '#2a8778',
    950: '#000000',
  },
}
SCSS
$custom: #2a8778;
$custom-light: #71aa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8778",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 170.323,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.08877,
    "h": 180
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#2A8778
secondary
#B35A68
accent
#4C63DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2A8778

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

Preview Lab → · Contrast checker → · Palette generator →

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