#2A877A#2A877A

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

Color values

HEX#2A877A
RGBrgb(42, 135, 122)
HSLhsl(172, 53%, 35%)
HSVhsv(172, 69%, 53%)
CMYKcmyk(68.9%, 0%, 9.6%, 47.1%)
CIE-LABlab(50.95, -30.10, -0.90)
CIE-LCHlch(50.95, 30.11, 181.72°)
OKLaboklab(56.62% -0.0878 -0.0029)
OKLCHoklch(56.62% 0.088 181.9)
XYZxyz(13.1300, 19.2239, 21.4272)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A877A #872A37
analogous
#2A874C #2A877A #2A6687
triadic
#2A877A #7A2A87 #877A2A
tetradic
#2A877A #4C2A87 #872A37 #66872A
square
#2A877A #4C2A87 #872A37 #66872A
split-complementary
#2A877A #872A66 #874C2A
monochromatic
#0D2A26 #1B5850 #2A877A #39B6A4 #5ECDBE

Accessibility & contrast

On white

4.33
#2A877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2A877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A877A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A877A#FFFFFF#000000##000000
##2A877A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7A
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a877a;
/* rgb */ color: rgb(42, 135, 122);
/* oklch */ color: oklch(56.6% 0.088 181.9);
Tailwind
colors: {
  custom: {
    50: '#71aaa0',
    500: '#2a877a',
    950: '#000000',
  },
}
SCSS
$custom: #2a877a;
$custom-light: #71aaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a877a",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 171.613,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.08785,
    "h": 181.9
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#2A877A
secondary
#B35A66
accent
#4C60DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2A877A

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

Preview Lab → · Contrast checker → · Palette generator →

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