#2A8770#2A8770

#2A8770 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.3% C 0.093 H 173.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2A8770
RGBrgb(42, 135, 112)
HSLhsl(165, 53%, 35%)
HSVhsv(165, 69%, 53%)
CMYKcmyk(68.9%, 0%, 17%, 47.1%)
CIE-LABlab(50.67, -32.83, 4.52)
CIE-LCHlch(50.67, 33.14, 172.16°)
OKLaboklab(56.3% -0.0927 0.0115)
OKLCHoklch(56.3% 0.093 173)
XYZxyz(12.5420, 18.9886, 18.3303)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8770 #872A41
analogous
#2A8741 #2A8770 #2A7087
triadic
#2A8770 #702A87 #87702A
tetradic
#2A8770 #412A87 #872A41 #70872A
square
#2A8770 #412A87 #872A41 #70872A
split-complementary
#2A8770 #872A70 #87412A
monochromatic
#0D2A23 #1B5849 #2A8770 #39B697 #5ECDB2

Accessibility & contrast

On white

4.38
#2A8770 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2A8770 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8770
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8770#FFFFFF#000000##000000
##2A87701.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6F
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8770;
/* rgb */ color: rgb(42, 135, 112);
/* oklch */ color: oklch(56.3% 0.093 173.0);
Tailwind
colors: {
  custom: {
    50: '#70aa99',
    500: '#2a8770',
    950: '#000000',
  },
}
SCSS
$custom: #2a8770;
$custom-light: #70aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8770",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 112
  },
  "hsl": {
    "h": 165.161,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.09342,
    "h": 173
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#2A8770
secondary
#B35A70
accent
#4C6FDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #2A8770

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

Preview Lab → · Contrast checker → · Palette generator →

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