#2A877F#2A877F

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

Color values

HEX#2A877F
RGBrgb(42, 135, 127)
HSLhsl(175, 53%, 35%)
HSVhsv(175, 69%, 53%)
CMYKcmyk(68.9%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.10, -28.66, -3.60)
CIE-LCHlch(51.10, 28.89, 187.17°)
OKLaboklab(56.79% -0.0854 -0.0102)
OKLCHoklch(56.79% 0.086 186.8)
XYZxyz(13.4478, 19.3510, 23.1009)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A877F #872A32
analogous
#2A8751 #2A877F #2A6087
triadic
#2A877F #7F2A87 #877F2A
tetradic
#2A877F #512A87 #872A32 #60872A
square
#2A877F #512A87 #872A32 #60872A
split-complementary
#2A877F #872A60 #87512A
monochromatic
#0D2A27 #1B5853 #2A877F #39B6AB #5ECDC4

Accessibility & contrast

On white

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

On black

4.87
#2A877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A877F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A877F#FFFFFF#000000##000000
##2A877F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#727580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a877f;
/* rgb */ color: rgb(42, 135, 127);
/* oklch */ color: oklch(56.8% 0.086 186.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa4',
    500: '#2a877f',
    950: '#000000',
  },
}
SCSS
$custom: #2a877f;
$custom-light: #71aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a877f",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.839,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.086,
    "h": 186.8
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#2A877F
secondary
#B35A62
accent
#4C58DC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2A877F

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

Preview Lab → · Contrast checker → · Palette generator →

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