#2A877E#2A877E

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

Color values

HEX#2A877E
RGBrgb(42, 135, 126)
HSLhsl(174, 53%, 35%)
HSVhsv(174, 69%, 53%)
CMYKcmyk(68.9%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.07, -28.95, -3.06)
CIE-LCHlch(51.07, 29.12, 186.04°)
OKLaboklab(56.75% -0.0859 -0.0088)
OKLCHoklch(56.75% 0.086 185.8)
XYZxyz(13.3830, 19.3250, 22.7594)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A877E #872A33
analogous
#2A8750 #2A877E #2A6187
triadic
#2A877E #7E2A87 #877E2A
tetradic
#2A877E #502A87 #872A33 #61872A
square
#2A877E #502A87 #872A33 #61872A
split-complementary
#2A877E #872A61 #87502A
monochromatic
#0D2A27 #1B5852 #2A877E #39B6AA #5ECDC2

Accessibility & contrast

On white

4.32
#2A877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A877E#FFFFFF#000000##000000
##2A877E1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#72757F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a877e;
/* rgb */ color: rgb(42, 135, 126);
/* oklch */ color: oklch(56.8% 0.086 185.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa3',
    500: '#2a877e',
    950: '#000000',
  },
}
SCSS
$custom: #2a877e;
$custom-light: #71aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a877e",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174.194,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.08631,
    "h": 185.8
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#2A877E
secondary
#B35A63
accent
#4C5ADC
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #2A877E

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

Preview Lab → · Contrast checker → · Palette generator →

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