#2A987E#2A987E

#2A987E is a mid, moderate teal. Relative luminance 0.245; OKLCH L 61.2% C 0.105 H 173.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2A987E
RGBrgb(42, 152, 126)
HSLhsl(166, 57%, 38%)
HSVhsv(166, 72%, 60%)
CMYKcmyk(72.4%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.54, -36.89, 4.90)
CIE-LCHlch(56.54, 37.22, 172.43°)
OKLaboklab(61.22% -0.1041 0.0124)
OKLCHoklch(61.22% 0.105 173.2)
XYZxyz(15.9471, 24.4532, 23.6141)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987E #982A44
analogous
#2A9847 #2A987E #2A7B98
triadic
#2A987E #7E2A98 #987E2A
tetradic
#2A987E #472A98 #982A44 #7B982A
square
#2A987E #472A98 #982A44 #7B982A
split-complementary
#2A987E #982A7B #98472A
monochromatic
#10382F #1D6856 #2A987E #37C8A6 #67D5BB

Accessibility & contrast

On white

3.56
#2A987E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#2A987E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A987E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A987E#FFFFFF#000000##000000
##2A987E1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a987e;
/* rgb */ color: rgb(42, 152, 126);
/* oklch */ color: oklch(61.2% 0.105 173.2);
Tailwind
colors: {
  custom: {
    50: '#74b7a3',
    500: '#2a987e',
    950: '#000000',
  },
}
SCSS
$custom: #2a987e;
$custom-light: #74b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987e",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 165.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.10486,
    "h": 173.2
  },
  "luminance": 0.24455
}

Semantic roles & 50–950 ramp

primary
#2A987E
secondary
#BB6277
accent
#486CE0
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #2A987E

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

Preview Lab → · Contrast checker → · Palette generator →

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