#2A987F#2A987F

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

Color values

HEX#2A987F
RGBrgb(42, 152, 127)
HSLhsl(166, 57%, 38%)
HSVhsv(166, 72%, 60%)
CMYKcmyk(72.4%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.56, -36.63, 4.37)
CIE-LCHlch(56.56, 36.89, 173.19°)
OKLaboklab(61.24% -0.1036 0.011)
OKLCHoklch(61.24% 0.104 173.9)
XYZxyz(16.0119, 24.4792, 23.9556)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A987F #982A43
analogous
#2A9848 #2A987F #2A7A98
triadic
#2A987F #7F2A98 #987F2A
tetradic
#2A987F #482A98 #982A43 #7A982A
square
#2A987F #482A98 #982A43 #7A982A
split-complementary
#2A987F #982A7A #98482A
monochromatic
#10382F #1D6857 #2A987F #37C8A7 #67D5BC

Accessibility & contrast

On white

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

On black

5.90
#2A987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A987F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A987F#FFFFFF#000000##000000
##2A987F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7E
Deuteranopia (green-blind)
#848381
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a987f;
/* rgb */ color: rgb(42, 152, 127);
/* oklch */ color: oklch(61.2% 0.104 173.9);
Tailwind
colors: {
  custom: {
    50: '#74b7a4',
    500: '#2a987f',
    950: '#000000',
  },
}
SCSS
$custom: #2a987f;
$custom-light: #74b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a987f",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 166.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.10422,
    "h": 173.9
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#2A987F
secondary
#BB6277
accent
#486AE0
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #2A987F

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

Preview Lab → · Contrast checker → · Palette generator →

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